Author kxroberto
Recipients
Date 2006-04-24.09:40:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Very often I need (for logging purposes, legal
international action confirmation display, ...) quickly
a stable/constant/technical/international timezone info
in addition to %c / .asctime.  And find me regularly
checking if the computer/server displays %Z nice,
writing 10-liner funcs ...

found %z by trial (and in footnote)

yet time.strftime('%c %z') flickers (on Windows..)

think, %z can be computed very easily independent of OS
libs? time.altzone /% 3600 ... ==> "+/-HHMM" ?

that could be doc'ed.

( the sign of  time.timezone / time.altzone is
unfortunately revers of RFC standardds , yet its ok
doced. there should be a function/update-function for
long running apps also ? )

then .asctime_tz() would be very nice to find it in the
docs.  (and maybe asctime_TZ)

-robert
History
Date User Action Args
2008-01-20 09:59:45adminlinkissue1475397 messages
2008-01-20 09:59:45admincreate