* 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!
This commit is contained in:
Guido van Rossum 1993-06-20 21:02:22 +00:00
parent 52fc1f607e
commit 9b3bc71598
4 changed files with 104 additions and 133 deletions

View file

@ -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)