]> granicus.if.org Git - python/commit
Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==
authorBrett Cannon <bcannon@gmail.com>
Thu, 3 Jul 2003 19:59:57 +0000 (19:59 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 3 Jul 2003 19:59:57 +0000 (19:59 +0000)
commitcde2200ff28a0a54a1dc62e6a63ca3936fee5177
tree569f3472a7ee2c87c04d66442d6e9f3dd89d5a90
parentebab26a70950f61b9c342b526b271aac36e1576e
Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==
time.tzname[1] and not time.daylight`` is true when it should only when
time.daylight is true.  Tests are also fixed.

Closes bug #763047 and its cohort #763052.
Lib/_strptime.py
Lib/test/test_strptime.py