From 782d082623aaa130178d944bdbfbb563d2e1adfa Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 22 May 2024 14:19:42 -0700 Subject: [PROPOSED 2/2] Make EET, MET and WET links Problem reported by Justin Grant in: https://mm.icann.org/pipermail/tz/2024-May/058934.html * NEWS: Mention this. * backward (EET, MET, WET): Now links rather than zones. (EUbackw): Remove. * backzone (WET, MET, EET): New backward-compatibility zones. --- NEWS | 7 +++++-- backward | 24 +++--------------------- backzone | 3 +++ 3 files changed, 11 insertions(+), 23 deletions(-) diff --git a/NEWS b/NEWS index 987ed6bb..2b34f78c 100644 --- a/NEWS +++ b/NEWS @@ -14,8 +14,11 @@ Unreleased, experimental changes (last released in the 1990s) have been moved to 'backward'. These names, which for post-1970 timestamps mostly just duplicate data of geographical names, were confusing downstream uses. - Names moved to 'backward' are now Links to geographical names if - there is an exact match since 1970, and remain Zones otherwise. + Names moved to 'backward' are now links to geographical names. + This affects behavior for TZ='EET' for some pre-1981 timestamps, + for TZ='CET' for some pre-1947 timestamps, and for TZ='WET' for + some pre-1996 timestamps. Also, TZ='MET' now behaves like + TZ='CET' and so uses the abbreviation "CET" rather than "MET". Those needing the previous TZDB behavior, which does not match any real-world clocks, can find the old entries in 'backzone'. (Problem reported by Justin Grant.) diff --git a/backward b/backward index 0b6a8efa..870567db 100644 --- a/backward +++ b/backward @@ -61,6 +61,7 @@ Link America/Whitehorse Canada/Yukon Link America/Santiago Chile/Continental Link Pacific/Easter Chile/EasterIsland Link America/Havana Cuba +Link Europe/Athens EET Link America/Panama EST Link America/New_York EST5EDT Link Africa/Cairo Egypt @@ -101,6 +102,7 @@ Link America/Jamaica Jamaica Link Asia/Tokyo Japan Link Pacific/Kwajalein Kwajalein Link Africa/Tripoli Libya +Link Europe/Brussels MET Link America/Phoenix MST Link America/Denver MST7MDT Link America/Tijuana Mexico/BajaNorte @@ -296,6 +298,7 @@ Link Europe/Kyiv Europe/Zaporozhye Link Pacific/Kanton Pacific/Enderbury Link Pacific/Honolulu Pacific/Johnston Link Pacific/Port_Moresby Pacific/Yap +Link Europe/Lisbon WET # Alternate names for the same location @@ -325,24 +328,3 @@ Link Pacific/Honolulu HST Link America/Los_Angeles PST8PDT Link Pacific/Guadalcanal Pacific/Ponape #= Pacific/Pohnpei Link Pacific/Port_Moresby Pacific/Truk #= Pacific/Chuuk - -# These rules are stolen from the 'europe' file. -# Rule NAME FROM TO - IN ON AT SAVE LETTER/S -Rule EUbackw 1977 1980 - Apr Sun>=1 1:00u 1:00 S -Rule EUbackw 1977 only - Sep lastSun 1:00u 0 - -Rule EUbackw 1978 only - Oct 1 1:00u 0 - -Rule EUbackw 1979 1995 - Sep lastSun 1:00u 0 - -Rule EUbackw 1981 max - Mar lastSun 1:00u 1:00 S -Rule EUbackw 1996 max - Oct lastSun 1:00u 0 - - -# From Paul Eggert (2024-05-22): -# The following zones pretend that standard time extends backward -# indefinitely into the past, and so are ahistorical. -# They are present for backward compatibility with older TZDB versions. -# They are Zones (instead of being a Link like CET) -# because they are not equivalent to any current Zone since 1970. - -# Zone NAME STDOFF RULES FORMAT [UNTIL] -Zone WET 0:00 EUbackw WE%sT -Zone MET 1:00 EUbackw ME%sT -Zone EET 2:00 EUbackw EE%sT diff --git a/backzone b/backzone index f986c137..ec6623d3 100644 --- a/backzone +++ b/backzone @@ -1845,7 +1845,10 @@ Zone MST7MDT -7:00 US M%sT Zone CST6CDT -6:00 US C%sT Zone EST -5:00 - EST Zone EST5EDT -5:00 US E%sT +Zone WET 0:00 EU WE%sT Zone CET 1:00 C-Eur CE%sT +Zone MET 1:00 C-Eur ME%sT +Zone EET 2:00 EU EE%sT # Local Variables: # coding: utf-8 -- 2.43.0