From dd6fd39608b6197e67fba90d4e1deb15f70b8a4f Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Thu, 9 Jul 2026 08:44:19 +1200 Subject: Import tzdata 2026c --- ziguard.awk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ziguard.awk') diff --git a/ziguard.awk b/ziguard.awk index c0acb72a0380..ba3a13405d75 100644 --- a/ziguard.awk +++ b/ziguard.awk @@ -184,7 +184,7 @@ DATAFORM != "main" { dstoff = get_minutes(rules) } else { # The DST offset is normally an hour, but there are special cases. - if (rules == "Morocco" && NF == 3) { + if (rules == "Morocco" && $4 == 2026) { dstoff = -60 } else if (rules == "NBorneo") { dstoff = 20 @@ -286,13 +286,13 @@ DATAFORM != "main" { } } } - if ($1 ~ /^[+0-9-]/ && NF == 3) { + if ($1 ~ /^[+0-9-]/ && $4 == 2026) { if (DATAFORM == "rearguard") { sub(/1:00\tMorocco/, "0:00\tMorocco") - sub(/\t\+01\/\+00$/, "\t+00/+01") + sub(/\t\+01\/\+00/, "\t+00/+01") } else { sub(/0:00\tMorocco/, "1:00\tMorocco") - sub(/\t\+00\/+01$/, "\t+01/+00") + sub(/\t\+00\/+01/, "\t+01/+00") } } } -- cgit v1.3