Closed harpchad closed 6 months ago
I tested it and it seems to be working fine. Good job!
To approve the PR I think I just need two minor changes:
--timefmt
in the README under Flags
indicating the default value and the possible predefined valuessetupTimeFormat
be case insensitive by changing switch f
into switch strings.ToUpper(f)
Proof of concept for #6
Allow the user to configure the date/time formatting. Offer a few pre-defined options and try anything else as a go time format string.
Formats:
examples: --timefmt=US --timefmt=ISO8601 --timefmt="20060102 150405"