From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 760C1385558F; Thu, 10 Nov 2022 16:35:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 760C1385558F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668098135; bh=/XVGdWKwb9NKg1E3AjWvd06a0WzVOvQxmB2Rr5UEoik=; h=From:To:Subject:Date:From; b=WaMA5Em3baVhafH/gwV0STnr/vbPSupZFza08B4fjy2ZhFou/MhIAa2P+FeIeRgTj 7ybhbulxeBxhRdJE1u/8BMoc0GYWd76bhrIH6mXd6sBkO56LZgyIbTz2HRkpXrhqtH 75qiH3X6nr9CXvlfYD+fUK4vo9U11BO4lnz4/eLU= From: "karlp at tweak dot net.au" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: karlp at tweak dot net.au X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29774 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, like= ly via https://github.com/eggert/tz/commit/e5f99199ff4efe0808a5076c2484d5b86193124d glibc's tzselect hasn't been touched since it was synced with upstream to 2= 018g ( see https://sourceware.org/git/?p=3Dglibc.git;a=3Dhistory;f=3Dtimezone/tzselect= .ksh) I propose that glibc update tzselect again from upstream. (This will likely also fix https://sourceware.org/bugzilla/show_bug.cgi?id=3D28227) 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) Eur= ope 2) Americas 8) Ind= ian Ocean 3) Antarctica 9) Pac= ific Ocean 4) Asia 10) coo= rd - 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=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 7) Spain 2) Cape Verde 5) Portugal 3) Falkland Islands 6) South Georgia & the South Sandwich Islands #?=20 ``` Example using upstream tzselect ``` karlp@strem:~/src/junk/tz.git ((2022e))$ ./tzselect=20 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) Eur= ope 3) Antarctica 9) Ind= ian Ocean 4) Arctic Ocean 10) Pac= ific Ocean 5) Asia 11) coo= rd - 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=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 7) South Georgia & the South Sandwich Islands 2) Cape Verde 5) Iceland=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 8) Spain 3) Falkland Islands 6) Portugal=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 9) St Helena #?=20 ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=