]> granicus.if.org Git - python/commit
Issue #10827: Changed the rules for 2-digit years. The time.asctime
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Fri, 7 Jan 2011 19:59:19 +0000 (19:59 +0000)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Fri, 7 Jan 2011 19:59:19 +0000 (19:59 +0000)
commitc64708ae48d07ac906ae29e7ac19a6173a9926df
tree0fe64e3d7b06b9e889131d6224f791590aa83907
parent696efdd03f40d5a135961af54946b56028b323bd
Issue #10827: Changed the rules for 2-digit years.  The time.asctime
function will now format any year when time.accept2dyear is false and
will accept years >= 1000 otherwise.  The year range accepted by
time.mktime and time.strftime is still system dependent, but
time.mktime will now accept full range supported by the OS. Conversion
of 2-digit years to 4-digit is deprecated.
Doc/library/time.rst
Lib/test/test_time.py
Misc/NEWS
Modules/timemodule.c