1.1 --- a/macros/EventAggregator.py Sat Jun 25 22:11:49 2011 +0200
1.2 +++ b/macros/EventAggregator.py Sat Jun 25 23:50:08 2011 +0200
1.3 @@ -68,12 +68,12 @@
1.4
1.5 self.category_name_parameters = "&".join([("category=%s" % name) for name in category_names])
1.6
1.7 + self.duration = (last - first).count() + 1
1.8 +
1.9 if self.calendar_name is not None:
1.10
1.11 # Store the view parameters.
1.12
1.13 - self.duration = (last - first).count() + 1
1.14 -
1.15 self.previous_start = first.previous()
1.16 self.next_start = first.next()
1.17 self.previous_end = last.previous()