1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

python 3.6 fix

This commit is contained in:
Kelly Brazil
2023-04-30 10:13:00 -07:00
parent 39c03a15d5
commit 9d567c2e70

View File

@ -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(')', '')