Shashwat Anand <anand.shash...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7370>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to