strftime for innfeed

Todd Olson tco2 at cornell.edu
Mon Dec 15 15:14:20 UTC 2008


At 15:25 -0800 2008-12-13, Russ Allbery wrote:
>Alexander Bartolich <alexander.bartolich at gmx.at> writes:
> > all to strftime(3) and made the format string configurable.
>
>This is an excellent idea.  ctime(3) is a horrible interface.
>
>Should we consider switching to a saner date and time format as the
>default as well while we're at it?  I always use %Y-%m-%d %H:%M:%S for any
>new code that I write, since it's an ISO standard, the least ambiguous
>across countries and has the fewest localization problems.


Yes Please!
I've just been struggling to develop statistics from old syslog logs (ick!)


?? How do you handle daylight savings time issues when parsing the output ??
?? Do you just always work in GMT ??


Regards,
Todd



More information about the inn-workers mailing list