Message102967
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. |
|
Date |
User |
Action |
Args |
2010-04-12 19:06:52 | l0nwlf | set | recipients:
+ l0nwlf, ajaksu2, eric.araujo, r.david.murray, schmiddy |
2010-04-12 19:06:52 | l0nwlf | set | messageid: <1271099212.7.0.895999575207.issue7370@psf.upfronthosting.co.za> |
2010-04-12 19:06:51 | l0nwlf | link | issue7370 messages |
2010-04-12 19:06:51 | l0nwlf | create | |
|