Author belopolsky
Recipients belopolsky, brett.cannon, brian.curtin, pitrou, techtonik
Date 2010-06-06.01:52:05
SpamBayes Score 0.0490054
Marked as misclassified No
Message-id <1275789128.08.0.900783293101.issue7662@psf.upfronthosting.co.za>
In-reply-to
Content
I would prefer exposing tm_gmtoff in time.localtime() output. The advantage is that on platforms that support it is struct tm, it will return correct offset for times in the past, not only for the current time. See issue1647654.

On platforms without tm_gmtoff we can fill it with -tm_isdst?timezone:altzone.  The current situation on Linux is just backwards: we are trying to divine altzone by sampling tm_gmtoff and throw tm_gmtoff away.

See http://blogs.gnome.org/jamesh/2006/12/31/python-timetimezone-timealtzone-edge-case/.
History
Date User Action Args
2010-06-06 01:52:08belopolskysetrecipients: + belopolsky, brett.cannon, pitrou, techtonik, brian.curtin
2010-06-06 01:52:08belopolskysetmessageid: <1275789128.08.0.900783293101.issue7662@psf.upfronthosting.co.za>
2010-06-06 01:52:05belopolskylinkissue7662 messages
2010-06-06 01:52:05belopolskycreate