Skip to content

Commit

Permalink
Allow older timezone names in auto-detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Oct 27, 2023
1 parent a35355c commit ce4cd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions funnel/views/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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))

Expand Down

0 comments on commit ce4cd34

Please sign in to comment.