[issue14781] Default to year 1 in strptime if year 0 has been specified

Hynek Schlawack report at bugs.python.org
Fri May 11 14:16:03 CEST 2012


Hynek Schlawack <hs at ox.cx> added the comment:

I have to correct myself:

It's _not_ what C's strptime does. C's strptime returns via "struct tm" which saves only "years since 1900" in the "tm_year" field.

----------

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


More information about the Python-bugs-list mailing list