[issue11024] imaplib: Time2Internaldate() returns localized strings

Joe Peterson report at bugs.python.org
Thu Jan 27 15:39:52 CET 2011


Joe Peterson <joe at skyrush.com> added the comment:

Sebastian,

Yes, in fact Alexander Belopolsky (belopolsky) brought up the the locale issue for this very function in one of the other issue comments.

The invert function, Internaldate2tuple(), actually does its own parsing using a regex match (and so does not have the problem), but you are right, Time2Internaldate() has this issue.

----------
versions: +3rd party -Python 2.6

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


More information about the Python-bugs-list mailing list