Author mitya57
Recipients belopolsky, mitya57
Date 2014-11-24.16:17:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416845840.06.0.178834731879.issue22932@psf.upfronthosting.co.za>
In-reply-to
Content
The value of time.timezone may be wrong sometimes (see http://bugs.python.org/issue22752), so I think the email library should not use it:

$ python3 -c "from email.utils import formatdate; print(formatdate(localtime=True))"
Mon, 24 Nov 2014 19:16:32 +0400
$ date -R
Mon, 24 Nov 2014 19:16:32 +0300

Using something from datetime module may be a better solution.
History
Date User Action Args
2014-11-24 16:17:20mitya57setrecipients: + mitya57, belopolsky
2014-11-24 16:17:20mitya57setmessageid: <1416845840.06.0.178834731879.issue22932@psf.upfronthosting.co.za>
2014-11-24 16:17:20mitya57linkissue22932 messages
2014-11-24 16:17:19mitya57create