]> granicus.if.org Git - python/commit
SF 658405: calendar.py to rely on the datetime module instead of the time
authorRaymond Hettinger <python@rcn.com>
Wed, 25 Dec 2002 16:37:19 +0000 (16:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 25 Dec 2002 16:37:19 +0000 (16:37 +0000)
commite11b510a5b35378572aca75dae7e9174756da5da
tree56503c8fcfc28cb5a9c4beb7ee6cb6abce16c0a7
parent80475bb4d21d1e5ddbb9eb0042adb1113052b38a
SF 658405:  calendar.py to rely on the datetime module instead of the time
module.

The code is shorter, more readable, faster, and dramatically increases the
range of acceptable dates.

Also, used the floor division operator in leapdays().
Doc/lib/libcalendar.tex
Lib/calendar.py
Misc/NEWS