Alexander Belopolsky added the comment: I was able to reproduce the problem on a Mac as follows:
$ TZ=Europe/Moscow date "+%c %z" Mon Nov 24 19:27:51 2014 +0300 $ TZ=Europe/Moscow python3 -c "from email.utils import formatdate; print(formatdate(localtime=True))" Mon, 24 Nov 2014 19:28:03 +0400 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com