Roundup Tracker - Issues

Message1787

Author stefan
Recipients
Date 2005-01-03.22:11:40
Message-id
In-reply-to
roundup/date.py:365 calls time.strftime() with the date
tuple
partially set to zero. As the next to last element
should be the
day-of-year, and as python 2.4 raises ValueErrors for
out-of-range
values, this call generates an exception.

FIX: replace

        str = time.strftime(format, (self.year,
self.month, self.day,
            self.hour, self.minute, int(self.second),
0, 0, 0))

with

        str = time.strftime(format, (self.year,
self.month, self.day,
            self.hour, self.minute, int(self.second),
0, 1, 0))
History
Date User Action Args
2009-02-03 14:21:07adminlinkissue1095292 messages
2009-02-03 14:21:07admincreate