R. David Murray <rdmur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue665194> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com