EventAggregatorSupport.py | raw changeset files shortlog |
1.1 --- a/EventAggregatorSupport.py Sat Feb 25 01:17:54 2012 +0100 1.2 +++ b/EventAggregatorSupport.py Sun Mar 25 21:35:07 2012 +0200 1.3 @@ -2069,7 +2069,7 @@ 1.4 1.5 dt = self.as_olson_datetime() 1.6 if dt: 1.7 - seconds = dt.utcoffset().seconds 1.8 + seconds = dt.utcoffset().seconds + dt.utcoffset().days * 24 * 3600 1.9 hours = seconds / 3600 1.10 minutes = (seconds % 3600) / 60 1.11 return hours, minutes