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 l0nwlf
Recipients ajaksu2, eric.araujo, l0nwlf, r.david.murray, schmiddy
Date 2010-04-12.19:06:50
SpamBayes Score 1.3616425e-05
Marked as misclassified No
Message-id <1271099212.7.0.895999575207.issue7370@psf.upfronthosting.co.za>
In-reply-to
Content
Quoting from the docstring of trunk/Lib/email/utils.py -> formatdate()

"We cannot use strftime() because that honors the locale and RFC 2822 requires that day and month names be the English abbreviations."

So yes, I do agree that email.utils.formatdate() should be used instead of time.strftime() to remove duplicate codes and be compliant with RFC.
Removing previous patch and submitting another.
History
Date User Action Args
2010-04-12 19:06:52l0nwlfsetrecipients: + l0nwlf, ajaksu2, eric.araujo, r.david.murray, schmiddy
2010-04-12 19:06:52l0nwlfsetmessageid: <1271099212.7.0.895999575207.issue7370@psf.upfronthosting.co.za>
2010-04-12 19:06:51l0nwlflinkissue7370 messages
2010-04-12 19:06:51l0nwlfcreate