diff --git a/jc/utils.py b/jc/utils.py index 88a6edcf..0c3a1262 100644 --- a/jc/utils.py +++ b/jc/utils.py @@ -187,6 +187,7 @@ def parse_datetime_to_timestamp(data): locale.setlocale(locale.LC_TIME, None) break except Exception: + locale.setlocale(locale.LC_TIME, None) continue if dt and utc_tz: