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.

classification
Title: factor out SMTPHandler.emit date handling
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: gaul, loewis
Priority: normal Keywords: patch

Created on 2003-08-20 08:30 by gaul, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
handlers.diff gaul, 2003-08-20 08:30 factor out SMTPHandler.emit date handling
Messages (2)
msg44483 - (view) Author: Andrew Gaul (gaul) Date: 2003-08-20 08:30
Change SMTPHandler.emit to use email.Utils.formatdate
for date formatting.  This changes the format from

    Wdy, DD Mon YYYY HH:MM:SS GMT

to

    Wdy, DD Mon YYYY HH:MM:SS (+/-)DDDD

which is the preferred format for email messages
according to RFC 2822.  This format is also accepted by
the obsolete RFCs 822 and 1123, so there should be no
compatibility problems.
msg44484 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-08-18 12:28
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as handlers.py 1.17, NEWS
1.1100.
History
Date User Action Args
2022-04-10 16:10:44adminsetgithub: 39094
2003-08-20 08:30:03gaulcreate