Antoine Pitrou added the comment: 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')) ---------- nosy: +belopolsky, lemburg versions: +Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20220> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com