diff options
author | Guido van Rossum <guido@python.org> | 1993-06-20 21:02:22 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-06-20 21:02:22 +0000 |
commit | 9b3bc715980b51ffbf535bcf159ba4be03938c19 (patch) | |
tree | bac82c0ba89639c54234f789ae862e6b1b4329ee /Lib/tzparse.py | |
parent | 52fc1f607eab013b1e7688b4cfb3b09fb82ce9eb (diff) | |
download | cpython-git-9b3bc715980b51ffbf535bcf159ba4be03938c19.tar.gz |
* aifc.py: don't die on invalid MARK chunk
* calendar.py: remove stuff now built in time; some cleanup and
generalization in the calendar printing
* cmd.py: use __init__.
* tzparse.py: This module is no longer necessary -- use builtin time instead!
Diffstat (limited to 'Lib/tzparse.py')
-rw-r--r-- | Lib/tzparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tzparse.py b/Lib/tzparse.py index 6cb08995b7..370d46b912 100644 --- a/Lib/tzparse.py +++ b/Lib/tzparse.py @@ -48,7 +48,7 @@ def isdst(time): import calendar (tzname, delta, dstname, daystart, hourstart, dayend, hourend) = \ tzparams - year, month, days, hours, mins, secs, yday, wday = \ + year, month, days, hours, mins, secs, yday, wday, isdst = \ calendar.gmtime(time - delta*3600) return (daystart, hourstart) <= (yday+1, hours) < (dayend, hourend) |