[Zope-dev] Bug in DateTime?
Casey Duncan
cduncan@kaivo.com
Fri, 09 Feb 2001 10:28:12 -0700
I have been working on a calendar for a web site and I came across some
strange behavior with DateTime.
Using the isCurrentDay() method returns true if only the day number of
the month is the same as today's.
For instance, today is Feb 9, 2001. The following returns true however
in both Zope 2.2 and 2.3:
DateTime('3/9/2000').isCurrentDay()
Is this the expected behavior? Checking the code leads me to believe the
other isCurrent* methods behave in a similar way.
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>