Alexander Belopolsky added the comment: There is no daylight savings time in Moscow and python detects this correctly:
$ TZ=Europe/Moscow python3 >>> import time >>> time.daylight 0 Note that historically, there was DST, but time module cannot handle historical TZ changes. (Russian government compensates the relative sanity of not moving the clocks twice a year by changing the UTC offset and TZ boundaries every 5 years or so.:-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22426> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com