From ce4cd3410d8b7eb862fc0bfae7991c663d752167 Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Fri, 27 Oct 2023 21:39:31 +0530 Subject: [PATCH] Allow older timezone names in auto-detection --- funnel/views/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funnel/views/helpers.py b/funnel/views/helpers.py index 76fee10c3..8344cc72d 100644 --- a/funnel/views/helpers.py +++ b/funnel/views/helpers.py @@ -28,7 +28,7 @@ url_for, ) from furl import furl -from pytz import common_timezones, timezone as pytz_timezone, utc +from pytz import all_timezones, timezone as pytz_timezone, utc from werkzeug.exceptions import MethodNotAllowed, NotFound from werkzeug.routing import BuildError, RequestRedirect @@ -42,7 +42,7 @@ from ..proxies import request_wants from ..typing import ResponseType, ReturnResponse, ReturnView -valid_timezones = set(common_timezones) +valid_timezones = set(all_timezones) nocache_expires = utc.localize(datetime(1990, 1, 1))