pflag
pflag copied to clipboard
Support `d` for days in time.Duration parsing?
FR.
From time.Hour:
There is no definition for units of Day or larger to avoid confusion across daylight savings time zone transitions.
See the Monotonic Clocks section in the documentation of the standard time
package for more details, and hopefully that will help you to understand why d
is ambiguous.