# HG changeset patch # User Paul Boddie # Date 1332704107 -7200 # Node ID 6770b3703e614ff369a0eff688b91eff3bf98998 # Parent 50766ab7091006e154137d81c30a5acd5b611f8a Fixed the Olson time zone offset evaluation to consider day offsets as well as second offsets. diff -r 50766ab70910 -r 6770b3703e61 EventAggregatorSupport.py --- a/EventAggregatorSupport.py Sat Feb 25 01:17:54 2012 +0100 +++ b/EventAggregatorSupport.py Sun Mar 25 21:35:07 2012 +0200 @@ -2069,7 +2069,7 @@ dt = self.as_olson_datetime() if dt: - seconds = dt.utcoffset().seconds + seconds = dt.utcoffset().seconds + dt.utcoffset().days * 24 * 3600 hours = seconds / 3600 minutes = (seconds % 3600) / 60 return hours, minutes