Message230702
| 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')) |
|