[issue1777412] Python's strftime dislikes years before 1900

STINNER Victor report at bugs.python.org
Tue Nov 11 04:50:08 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

The patch doesn't work on Python3 because Python3 changes 
time.strftime() for year < 1900: if time.accept2dyear is not False (or 
not set), raise an error; otherwise convert 0..68 => 2000..2068, 
69..99 => 1968..1999, or raise an error.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list