better timezone logic
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.0.4 (2012-08-31 16:00:18) stable
|
||||
Version 2.0.4 (2012-08-31 16:04:08) stable
|
||||
|
||||
+1
-1
@@ -1800,7 +1800,7 @@ class BaseAdapter(ConnectionPool):
|
||||
h,m = tz.split(':')
|
||||
dt = datetime.timedelta(seconds=3600*int(h)+60*int(m))
|
||||
elif '-' in timezone:
|
||||
ms,tz = value.split('-')
|
||||
ms,tz = timezone.split('-')
|
||||
h,m = tz.split(':')
|
||||
dt = -datetime.timedelta(seconds=3600*int(h)+60*int(m))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user