]> granicus.if.org Git - python/commit
Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 8 Jan 2011 01:56:31 +0000 (01:56 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 8 Jan 2011 01:56:31 +0000 (01:56 +0000)
commit73ea29cb039318a70b3cbc9ab2697308a470b5ba
tree9b94a94e1298e0d3d9113847fe6c2372061ab3d3
parent0dd06f4082355451847e686d6adb2f1a9f749adb
Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900

 * With Visual Studio, year have to be in [1; 9999]
 * Add more tests on the year field
Lib/test/test_time.py
Modules/timemodule.c