diff options
author | Anthon van der Neut <anthon@mnt.org> | 2021-03-05 10:37:18 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2021-03-05 10:37:18 +0100 |
commit | 59a2fff10a8a1f41eee55a43f48ad20539c69e75 (patch) | |
tree | da0e987303b88219b643423938ded87a258f6869 /constructor.py | |
parent | 3b3bc4e217719b84dd27b04a4a644e5f39a0eb8e (diff) | |
download | ruamel.yaml-59a2fff10a8a1f41eee55a43f48ad20539c69e75.tar.gz |
last release supporting 2.70.16.13
Diffstat (limited to 'constructor.py')
-rw-r--r-- | constructor.py | 1 |
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 |