[issue14781] strptime fails for year 0
Hynek Schlawack
report at bugs.python.org
Fri May 11 13:20:34 CEST 2012
Hynek Schlawack <hs at ox.cx> added the comment:
Hello Matthias,
%Y for strptime is defined as:
"Year with century as a decimal number [0001,9999] (strptime), […]"
so it works as specified. And actually that's correct as there was no year zero (http://en.wikipedia.org/wiki/0_(year)). :)
----------
nosy: +hynek
resolution: -> invalid
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14781>
_______________________________________
More information about the Python-bugs-list
mailing list