From 9d567c2e7045be7a2f03ea411781095f3718815a Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sun, 30 Apr 2023 10:13:00 -0700 Subject: [PATCH] python 3.6 fix --- jc/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jc/utils.py b/jc/utils.py index a1c4392f..8cad1fff 100644 --- a/jc/utils.py +++ b/jc/utils.py @@ -505,6 +505,7 @@ class timestamp: or '+00:00' in data \ or '-00:00' in data: utc_tz = True + data = data.replace('+00:00', '+0000') # fix for python 3.6 # normalize the timezone by taking out any timezone reference, except UTC cleandata = data.replace('(', '').replace(')', '')