Message102967
| 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. |
|