Drop tzdata aliases from the timezone pickers - #11288
Open
bruno-keiko wants to merge 1 commit into
Open
bruno-keiko wants to merge 1 commit into
bruno-keiko wants to merge 1 commit into
Conversation
bruno-keiko
force-pushed
the
fix/timezone-picker-aliases
branch
from
September 11, 2026 09:57
8d99664 to
b95f3d7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Picking a timezone shows near-duplicates:
Asia/Ashkhabadright underAsia/Ashgabat,Asia/CalcuttaunderAsia/Kolkata, and so on.Both pickers list
timedatectl list-timezones. Since systemd v249 that list comes from/usr/share/zoneinfo/tzdata.ziand includesL(Link) records as well asZ(Zone) ones, so all 257 backward-compatibility aliases land next to the real zones — about 600 entries where ~420 are meaningful.Read
/usr/share/zoneinfo/zone.tabinstead: one row per country per distinct zone, no obsolete aliases, and unlikezone1970.tabit still listsEurope/Oslo,Europe/Stockholmand the other zones tzdata has since merged into links.UTCis added back explicitly sincezone.tabomits it and the setup form falls back to it.Applied in both places that ask —
install/provisioning/setup-form.sh(ISO configurator and first-boot owner setup) andbin/omarchy-menu-timezone.Tests:
setup-form-test.shasserts the piped list offersAsia/Ashgabatand notAsia/Ashkhabad;timezone-test.shpins the menu tozone.tab. Both pass../test/clifails the same pre-existinghardware groupassertion with and without this change (run on macOS).