This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients ajaksu2, akuchling, belopolsky, brett.cannon, doerwalter, eric.araujo, r.david.murray, tim.peters
Date 2011-05-04.19:56:45
SpamBayes Score 0.0015426277
Marked as misclassified No
Message-id <1304539008.77.0.643124646459.issue665194@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that adds datetime support to email.utils.formatdate.  Ultimately the email package will give programs access to datetime+timezone representations of the dates in various headers, so this provides the output end of the round trip.

Alexander, if you could review this that would be great.  There may be bugs in the logic of formatdate, but my hope is that I haven't added any new ones.
History
Date User Action Args
2011-05-04 19:56:48r.david.murraysetrecipients: + r.david.murray, tim.peters, akuchling, doerwalter, brett.cannon, belopolsky, ajaksu2, eric.araujo
2011-05-04 19:56:48r.david.murraysetmessageid: <1304539008.77.0.643124646459.issue665194@psf.upfronthosting.co.za>
2011-05-04 19:56:46r.david.murraylinkissue665194 messages
2011-05-04 19:56:46r.david.murraycreate