• Alexander Belopolsky's avatar
    Issue #10827: Changed the rules for 2-digit years. The time.asctime · c64708ae
    Alexander Belopolsky authored
    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.
    c64708ae
test_time.py 12.3 KB