summaryrefslogtreecommitdiff
path: root/constructor.py
diff options
context:
space:
mode:
Diffstat (limited to 'constructor.py')
-rw-r--r--constructor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/constructor.py b/constructor.py
index ddd2915..3b16fe5 100644
--- a/constructor.py
+++ b/constructor.py
@@ -1728,6 +1728,7 @@ class RoundTripConstructor(SafeConstructor):
delta = datetime.timedelta(hours=tz_hour, minutes=tz_minute)
if values['tz_sign'] == '-':
delta = -delta
+ # shold check for NOne and solve issue 366 should be tzinfo=delta)
if delta:
dt = datetime.datetime(year, month, day, hour, minute)
dt -= delta