[issue665194] datetime-RFC2822 roundtripping

R. David Murray report at bugs.python.org
Wed May 4 21:56:48 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

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.

----------
nosy: +r.david.murray
stage: needs patch -> patch review
versions: +Python 3.3 -Python 3.2
Added file: http://bugs.python.org/file21886/formatdate_datetime_support.patch

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


More information about the Python-bugs-list mailing list