# HG changeset patch # User Paul Boddie # Date 1332714154 -7200 # Node ID c2cfcab447663594888c617adac8b8e9bd22613e # Parent 0a3ee93b87788357504836f3073ec33396dccb58 Changed the duration calculation to work with the changed definition of the subtraction of dates and times applying to DateSupport objects. diff -r 0a3ee93b8778 -r c2cfcab44766 EventAggregatorSupport.py --- a/EventAggregatorSupport.py Sat Mar 10 15:41:24 2012 +0100 +++ b/EventAggregatorSupport.py Mon Mar 26 00:22:34 2012 +0200 @@ -1512,7 +1512,7 @@ self.first = first self.last = last - self.duration = last - first + self.duration = abs(last - first) + 1 if self.calendar_name: