commit | c64708ae48d07ac906ae29e7ac19a6173a9926df | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Fri Jan 07 19:59:19 2011 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Fri Jan 07 19:59:19 2011 +0000 |
tree | 0fe64e3d7b06b9e889131d6224f791590aa83907 | |
parent | 696efdd03f40d5a135961af54946b56028b323bd [diff] |
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.