Commits

jortel  committed 9e91e1c

Fix sax Date to account for daylight savings time.

  • Participants
  • Parent commits 301e02e

Comments (0)

Files changed (1)

File suds/sax/date.py

     
     pattern = re.compile('([zZ])|([\-\+][0-9]{2}:[0-9]{2})')
     
-    LOCAL = ( 0-time.timezone/60/60 )
+    LOCAL = ( 0-time.timezone/60/60 ) + time.daylight
 
     def __init__(self, offset=None):
         if offset is None: