v2 bug: Value does not work with TimestampFlag #1144
Labels
area/v2
relates to / is being considered for v2
kind/bug
describes or fixes a bug
status/claimed
someone has claimed this issue
my urfave/cli version is
2.2.0
Checklist
Dependency Management
Describe the bug
Passing a
Value
toTimestampFlag
does nothing.To reproduce
go install && go mymodule sync
Describe the steps or code required to reproduce the behavior
Observed behavior
"from" flag is
<nil>
Expected behavior
The
Value
(today) would be printed, as it works with other types of flag, such asIntFlag
.Additional context
Docker build and run
Want to fix this yourself?
I'd love to help. Can you guys confirm this and give me some directions about how to proceed?
Run
go version
and paste its output hereRun
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: