[issue22932] email.utils.formatdate uses unreliable time.timezone constant

R. David Murray report at bugs.python.org
Mon Nov 24 18:30:32 CET 2014


R. David Murray added the comment:

email.utils.format_datetime uses datetime.  formatdate wasn't touched, for backward compatibility reasons.  If it has an actual bug we can fix it.

If it can be converted to use datetime without sacrificing backward compatibility, that's also fine with me.

Frankly I don't know enough at the moment to know if the proposed patch is correct.  Alexander?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22932>
_______________________________________


More information about the Python-bugs-list mailing list