Re: how to log date/time in daemon mode?
grarpamp <[email protected]>
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Message-ID | <CAD2Ti290+2MbFvbQOioSQwpvvdUwFFaviBWXfy4DGob97BHzRQ@mail.gmail.com> |
> Would it be unreasonable to include both ISO8601 and time_t? eg. > > 2018-10-01T22:50:44+00:00 (1538434244) > > The time_t would simply be easier for an external script to parse. Some apps have user configurable global choice to make happy / useful... a) iso8601 (default) b) $(date) c) epoch d) strftime format string, ie above: "%Y-%m-%dT%H:%M:%S%z (%s)" Rightly leaving the box, localtime, and TZ env, to handle the timezones and such. As to when / if anything, 7.0 would seem best oppurtunity, as there will be some change and other new things and oppurtunities there anyways.