[issue13284] email.utils.formatdate function does not handle timezones correctly.

Vitja Makarov report at bugs.python.org
Thu Nov 3 19:38:47 CET 2011


Vitja Makarov <vitja.makarov at gmail.com> added the comment:

We have the same issue in Russia (MSK timezone). It seems to be related to recent changes in timezone info.

It looks like time.timezone is calculated incorrectly.

You can test that with attached script:

$ TZ=Europe/Moscow python /tmp/test_tz.py
-10800 -14400

Both values should be the same.

----------
nosy: +Vitja.Makarov
Added file: http://bugs.python.org/file23605/test_tz.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13284>
_______________________________________


More information about the Python-bugs-list mailing list