[tz] [PROPOSED] Treat W-Eur like Port when reguarding
Paul Eggert
eggert at cs.ucla.edu
Mon Apr 8 20:19:15 UTC 2024
* ziguard.awk: When deciding among vanguard, main and rearguard forms,
treat W-Eur lines like Port lines, since Portuguese zones use both.
This should simplify future changes.
---
ziguard.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ziguard.awk b/ziguard.awk
index a5fd5491..066f3b10 100644
--- a/ziguard.awk
+++ b/ziguard.awk
@@ -142,7 +142,7 @@ DATAFORM != "main" {
# If this line should differ due to Portugal benefiting from %z if supported,
# uncomment the desired version and comment out the undesired one.
- if ($0 ~ /^#?[\t ]+-[12]:00[\t ]+(Port[\t ]+[%+-]|-[\t ]+(%z|-01)[\t ]+1982 Mar 28)/) {
+ if ($0 ~ /^#?[\t ]+-[12]:00[\t ]+((Port|W-Eur)[\t ]+[%+-]|-[\t ]+(%z|-01)[\t ]+1982 Mar 28)/) {
if (($0 ~ /%z/) == (DATAFORM == "vanguard")) {
uncomment = in_comment
} else {
--
2.40.1
More information about the tz
mailing list