Skip to content

Fix canonical timezones for web#77

Open
tigloo wants to merge 2 commits into
Dana-Ferguson:masterfrom
evoleen:fix-canonical-timezones-for-web
Open

Fix canonical timezones for web#77
tigloo wants to merge 2 commits into
Dana-Ferguson:masterfrom
evoleen:fix-canonical-timezones-for-web

Conversation

@tigloo
Copy link
Copy Markdown

@tigloo tigloo commented Oct 5, 2023

macOS 14 will report the time zone as "CET" instead of for example "Europe/Berlin". This breaks at least Flutter Web clients because time_machine is unable to identify the local timezone during initialization.

This patch adds a couple of those definitions to tzdb.json. (which won't fix lookup in tzdb.bin, not sure if the same problem exists there)

I originally tried to patch up the tzdb compiler but too much was broken there.

Note that this PR includes the changes of #76. The changes can be decoupled from each other though.

tigloo and others added 2 commits October 5, 2023 11:12
* Update hardcoded path to include assets/ dir

* Include assets directly in package so they are shipped automatically
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