Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64fc5e0

Browse files
committed
Remove PHOT from our default timezone abbreviations list.
Debian recently decided to split out a bunch of "obsolete" timezonenames into a new tzdata-legacy package, which isn't installed bydefault. One of these zone names is Pacific/Enderbury, and thatbreaks our regression tests (on --with-system-tzdata builds)because our default timezone abbreviations list defines PHOT asPacific/Enderbury.Pacific/Enderbury got renamed to Pacific/Kanton in tzdata 2021b,so that in distros that still have this entry it's just a symlinkto Pacific/Kanton anyway. So one answer would be to redefine PHOTas Pacific/Kanton. However, then things would fail if theinstalled tzdata predates 2021b, which is recent enough that thatseems like a real problem.Instead, let's just remove PHOT from the default list. That seemslikely to affect nobody in the real world, because (a) it was anabbreviation that the tzdb crew made up in the first place, withno evidence of real-world usage, and (b) the total human populationof the Phoenix Islands is less than two dozen persons, per Wikipedia.If anyone does use this zone abbreviation they can easily put it backvia a custom abbreviations file.We'll keep PHOT in the Pacific.txt reference file, but change itto Pacific/Kanton there, as that definition seems more likely tobe useful to future readers of that file.Per report from Victor Wagner. Back-patch to all supportedbranches.Discussion:https://postgr.es/m/20231027152049.4b5c8044@wagner.wagner.home
1 parent9e8a18d commit64fc5e0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎src/timezone/tznames/Default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ NZST 43200 # New Zealand Standard Time
618618
# (Antarctica/McMurdo)
619619
# (Pacific/Auckland)
620620
PGT 36000 # Papua New Guinea Time (obsolete)
621-
PHOT Pacific/Enderbury # Phoenix Islands Time (Kiribati) (obsolete)
622621
PONT 39600 # Ponape Time (Micronesia) (obsolete)
623622
PWT 32400 # Palau Time (obsolete)
624623
TAHT -36000 # Tahiti Time (obsolete)

‎src/timezone/tznames/Pacific.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ NZST 43200 # New Zealand Standard Time
5050
# (Antarctica/McMurdo)
5151
# (Pacific/Auckland)
5252
PGT 36000 # Papua New Guinea Time (obsolete)
53-
PHOT Pacific/Enderbury # Phoenix Islands Time (Kiribati) (obsolete)
53+
PHOT Pacific/Kanton # Phoenix Islands Time (Kiribati) (obsolete)
5454
PONT 39600 # Ponape Time (Micronesia) (obsolete)
5555
# CONFLICT! PST is not unique
5656
# Other timezones:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp