2012-03-26 | Paul Boddie | raw files shortlog changelog graph | Changed the duration calculation to work with the changed definition of the subtraction of dates and times applying to DateSupport objects. | |
EventAggregatorSupport.py (file) |
1.1 --- a/EventAggregatorSupport.py Sat Mar 10 15:41:24 2012 +0100 1.2 +++ b/EventAggregatorSupport.py Mon Mar 26 00:22:34 2012 +0200 1.3 @@ -1512,7 +1512,7 @@ 1.4 1.5 self.first = first 1.6 self.last = last 1.7 - self.duration = last - first 1.8 + self.duration = abs(last - first) + 1 1.9 1.10 if self.calendar_name: 1.11