Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow older timezone names in auto-detection #1915

Merged
merged 5 commits into from
Oct 27, 2023
Merged

Allow older timezone names in auto-detection #1915

merged 5 commits into from
Oct 27, 2023

Conversation

jace
Copy link
Member

@jace jace commented Oct 27, 2023

JavaScript timezone detection reports the old name Asia/Calcutta instead of the current Asia/Kolkata. These are known renames in the timezone database, so Funnel now builds a remap table from the tzdata.zi text file included with the tzdata package. System zoneinfo does not always include this file or has a truncated version — macOS Sonoma doesn't have it, and Ubuntu 20.04's file has 150 aliases for the 2023c database, while tzdata's copy for the same 2023c release has 246 entries.

jace added 5 commits October 27, 2023 21:39
Python's zoneinfo depends on tzdata in some instances. We still use pytz for timezones, so this is for future transition.

Two other updates are security releases.
@jace jace merged commit b9fdf71 into main Oct 27, 2023
9 of 11 checks passed
@jace jace deleted the timezone-detect branch October 27, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant