From fc57bcfce24af23f077d6a73f1db4591d8f99c13 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sun, 16 May 2021 20:51:39 -0700 Subject: [PATCH] fix for when UTC is referenced as "Coordinated Universal Time" --- jc/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jc/utils.py b/jc/utils.py index cb8fc235..7974ef28 100644 --- a/jc/utils.py +++ b/jc/utils.py @@ -239,6 +239,9 @@ class timestamp: } utc_tz = False + # sometimes UTC is referenced as 'Coordinated Universal Time'. Convert to 'UTC' + data = data.replace('Coordinated Universal Time', 'UTC') + if 'UTC' in data: utc_tz = True if 'UTC+' in data or 'UTC-' in data: