Message231608
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. |
|
| Date |
User |
Action |
Args |
| 2014-11-24 16:17:20 | mitya57 | set | recipients:
+ mitya57, belopolsky |
| 2014-11-24 16:17:20 | mitya57 | set | messageid: <1416845840.06.0.178834731879.issue22932@psf.upfronthosting.co.za> |
| 2014-11-24 16:17:20 | mitya57 | link | issue22932 messages |
| 2014-11-24 16:17:19 | mitya57 | create | |
|