You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got users who want to use a command line flag of "30d" meaning 30 days in the future (or past).
time.Duration is perfect, it supports Nanoseconds, Microseconds, Milliseconds, Seconds, Minutes, Hours
except it doesn't support the longer durations such as Days.
Any discussion about leap seconds, or leap years is orthogonal because it could happen across any Hour boundary as well.