diff --git a/src/tww/tww.py b/src/tww/tww.py index 9b89383..a7481d3 100644 --- a/src/tww/tww.py +++ b/src/tww/tww.py @@ -439,7 +439,7 @@ def query_to_dt(query): def tzinfo_from_offset(offset: str) -> pytz.timezone: if ':' in offset: offset = ''.join(offset.split(':')) - tznames = TZ_OFFSETS.get(offset, []) + tznames = TZ_OFFSETS.get(offset, ["utc"]) for tzname in tznames: if tzname.startswith('Etc/GMT'): return pytz.timezone(tzname)