This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients David.Edelsohn, belopolsky, lars.gustaebel, lemburg, pitrou, serhiy.storchaka
Date 2014-11-05.18:09:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415210966.69.0.126274834293.issue20220@psf.upfronthosting.co.za>
In-reply-to
Content
We seem to be bitten by the following bit of glibc (?) oddity:

>>> os.environ['TZ'] = 'America/New_York'
>>> time.tzset()
>>> time.daylight, time.timezone, time.altzone, time.tzname
(1, 18000, 14400, ('EST', 'EDT'))
>>> os.environ['TZ'] = 'STD-1DST'
>>> time.tzset()
>>> time.daylight, time.timezone, time.altzone, time.tzname
(1, -3600, -7200, ('STD', 'DST'))
>>> os.environ['TZ'] = 'America/New_York'
>>> time.tzset()
>>> time.daylight, time.timezone, time.altzone, time.tzname
(1, -3600, -7200, ('STD', 'DST'))
History
Date User Action Args
2014-11-05 18:09:26pitrousetrecipients: + pitrou, lemburg, belopolsky, lars.gustaebel, serhiy.storchaka, David.Edelsohn
2014-11-05 18:09:26pitrousetmessageid: <1415210966.69.0.126274834293.issue20220@psf.upfronthosting.co.za>
2014-11-05 18:09:26pitroulinkissue20220 messages
2014-11-05 18:09:26pitroucreate