strftime for innfeed

Russ Allbery rra at stanford.edu
Mon Dec 15 19:24:40 UTC 2008


Todd Olson <tco2 at cornell.edu> writes:

> 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 ??

Always logging in UTC is the easiest approach, although people can find it
confusing.  If one does use time zones, it's probably best to keep
following the ISO standard and use:

    YYYY-MM-DD HH:MM:SS -ZZZZ

(The actual ISO standard doesn't use spaces, but I like to add them to
make it more readable.)

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.



More information about the inn-workers mailing list