diff -r 3a3263df6cdd -r 86f9baff9dd6 web/views/timetable.py --- a/web/views/timetable.py Thu Apr 30 00:41:52 2009 +0200 +++ b/web/views/timetable.py Thu Apr 30 01:19:34 2009 +0200 @@ -45,7 +45,7 @@ user = u"*" the_dates = [] if task.start and task.stop: - if task.start.absdate == task.stop.absdate: + if task.start.toordinal() == task.stop.toordinal(): the_dates.append(task.start) else: the_dates += date_range( task.start, task.stop )