summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2010-11-03 18:20:13 +0000
committerjortel <devnull@localhost>2010-11-03 18:20:13 +0000
commit866848d75b194e7997198a60823d1335d255e91f (patch)
treeb1c7dcc3fd23aff0ba85fa6766f53e9565979996
parent515ef5e515c34fcc4ab8ef5a49ac8624750365fe (diff)
downloadsuds-866848d75b194e7997198a60823d1335d255e91f.tar.gz
Fix sax Date to account for daylight savings time.
-rw-r--r--suds/sax/date.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/suds/sax/date.py b/suds/sax/date.py
index 6e31c4c..fa98369 100644
--- a/suds/sax/date.py
+++ b/suds/sax/date.py
@@ -346,7 +346,7 @@ class Timezone:
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: