Thanks for the bug report. I installed the attached patch into the development repository; please give it a try.
From 2c869ba7c2f31d475abc8014d38c095048d2ed68 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Sat, 27 Jun 2026 01:25:47 -0700
Subject: [PROPOSED] Update ziguard.awk for recent Morocco changes

Problem reported by liuchao (CR) in:
https://lists.iana.org/hyperkitty/list/[email protected]/thread/43V2IHD6GZQAXMS55N62BEN5TTMMBG26/
* ziguard.awk: Adjust to recent changes for Morocco.
---
 ziguard.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ziguard.awk b/ziguard.awk
index c0acb72a..c9d08dc1 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" && stdoff == 60) {
 	    dstoff = -60
 	  } else if (rules == "NBorneo") {
 	    dstoff = 20
-- 
2.53.0

Reply via email to