]> granicus.if.org Git - python/commit
Deal with possible case of having time.tzname[1] containing UTC or GMT.
authorBrett Cannon <bcannon@gmail.com>
Sun, 7 Mar 2004 23:16:27 +0000 (23:16 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 7 Mar 2004 23:16:27 +0000 (23:16 +0000)
commit8172ac3d15a78d0a7a716465b5ce6d9f63434a08
tree463646094332961937759950b857028cd281ade3
parentdd80f762650f42f5f9ae820d9f55b21ed6f33bc0
Deal with possible case of having time.tzname[1] containing UTC or GMT.
Since it is known ahead of time that UTC and GMT always have no DST adjustment
then just set the isdst value to 0 even if tzname[0] == tzname[1] .
Fixes bug #897817 .
Lib/_strptime.py