public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "karlp at tweak dot net.au" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug time/29774] New: tzselect: doesn't handle new backlinks, places some countries in the wrong regions Date: Thu, 10 Nov 2022 16:35:33 +0000 [thread overview] Message-ID: <bug-29774-131@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=29774 Bug ID: 29774 Summary: tzselect: doesn't handle new backlinks, places some countries in the wrong regions Product: glibc Version: 2.36 Status: UNCONFIRMED Severity: normal Priority: P2 Component: time Assignee: unassigned at sourceware dot org Reporter: karlp at tweak dot net.au Target Milestone: --- With the changes in tz for backzones and backlinks, at least starting from here: https://github.com/eggert/tz/commit/0b925f6d8aaf927ac20049ae0ff3b527684b60c7 with tzdb-2022c, the version of tzselect in glibc no longer places countries like Iceland in "Atlantic" but in "Africa" This is fixed and works correctly using tzselect from the tzdb itself, likely via https://github.com/eggert/tz/commit/e5f99199ff4efe0808a5076c2484d5b86193124d glibc's tzselect hasn't been touched since it was synced with upstream to 2018g ( see https://sourceware.org/git/?p=glibc.git;a=history;f=timezone/tzselect.ksh) I propose that glibc update tzselect again from upstream. (This will likely also fix https://sourceware.org/bugzilla/show_bug.cgi?id=28227) Example using system tzselect (glibc) (no iceland) ``` karlp@strem:~/src/junk/tz.git ((2022e))$ /usr/bin/tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent, ocean, "coord", or "TZ". 1) Africa 7) Europe 2) Americas 8) Indian Ocean 3) Antarctica 9) Pacific Ocean 4) Asia 10) coord - I want to use geographical coordinates. 5) Atlantic Ocean 11) TZ - I want to specify the timezone using the Posix TZ format. 6) Australia #? 5 Please select a country whose clocks agree with yours. 1) Bermuda 4) Faroe Islands 7) Spain 2) Cape Verde 5) Portugal 3) Falkland Islands 6) South Georgia & the South Sandwich Islands #? ``` Example using upstream tzselect ``` karlp@strem:~/src/junk/tz.git ((2022e))$ ./tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent, ocean, "coord", or "TZ". 1) Africa 7) Australia 2) Americas 8) Europe 3) Antarctica 9) Indian Ocean 4) Arctic Ocean 10) Pacific Ocean 5) Asia 11) coord - I want to use geographical coordinates. 6) Atlantic Ocean 12) TZ - I want to specify the timezone using the Posix TZ format. #? 6 Please select a country whose clocks agree with yours. 1) Bermuda 4) Faroe Islands 7) South Georgia & the South Sandwich Islands 2) Cape Verde 5) Iceland 8) Spain 3) Falkland Islands 6) Portugal 9) St Helena #? ``` -- You are receiving this mail because: You are on the CC list for the bug.
reply other threads:[~2022-11-10 16:35 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29774-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).