Macmod / godap

A complete TUI for LDAP.
MIT License
378 stars 20 forks source link

Add a timefmt argument to allow custom date/time #7

Closed harpchad closed 6 months ago

harpchad commented 6 months ago

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"

Macmod commented 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: