[tz] Morocco not ending DST tonight - instead extending by one month

Paul Eggert eggert at cs.ucla.edu
Mon Sep 30 16:03:06 UTC 2013


Milamber wrote:
> 
> Please note too that the Moroccan government has change too the date to the beginning of DST at the last sunday of March (April before).

Thanks, the following additional patch should fix that
bug.  I've pushed this.

>From 0a6a92937fd76cb05c401ac74909d6f7cea14a2a Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert at cs.ucla.edu>
Date: Mon, 30 Sep 2013 09:01:01 -0700
Subject: [PATCH] Morocco changed start-of-DST from March to April.

* africa (Morocco): The spring-forward date was moved too,
to the last Sunday in March.
* NEWS: Document this.
---
 NEWS   |  5 +++--
 africa | 22 +++++++++++++++-------
 2 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/NEWS b/NEWS
index c89e339..316893b 100644
--- a/NEWS
+++ b/NEWS
@@ -5,8 +5,9 @@ Unreleased, experimental changes
 
   Changes affecting current and near-future time stamps
 
-    Morocco changed their rules, and now falls back the first Sunday
-    in October, not September.  (Thanks to Steffen Thorsen.)
+    Morocco now observes DST from the last Sunday in March to the last
+    Sunday in October, not April to September respectively.  (Thanks
+    to Steffen Thorsen.)
 
   Changes affecting 'zic'
 
diff --git a/africa b/africa
index 16fe153..20b00eb 100644
--- a/africa
+++ b/africa
@@ -868,7 +868,7 @@ Zone	Indian/Mayotte	3:00:56 -	LMT	1911 Jul	# Mamoutzou
 # Another source (specifying the time for start and end in the decree):
 # http://www.lemag.ma/Heure-d-ete-au-Maroc-jusqu-au-27-octobre_a75620.html
 
-# From Paul Eggert (2013-09-29):
+# From Paul Eggert (2013-09-30):
 # To estimate what the Moroccan government will do in future years,
 # transition dates for 2014 through 2037 were determined by running
 # the following program under GNU Emacs 24.3:
@@ -889,10 +889,11 @@ Zone	Indian/Mayotte	3:00:56 -	LMT	1911 Jul	# Mamoutzou
 #	  (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
 #     (setq islamic-year (+ 1 islamic-year))))
 #
-# with the results hand-edited for 2020-2022, when the normal spring-forward
-# date falls during the estimated Ramadan; with results removed for 2023-2035,
-# where the estimated Ramadan falls entirely outside daylight-saving time,
-# and the results hand-edited again for 2036-2037, where the normal fall-back
+# with spring-forward transitions removed for 2023-2025, when the
+# normal spring-forward date falls during the estimated Ramadan; with
+# all transitions removed for 2026-2035, where the estimated Ramadan
+# falls entirely outside daylight-saving time; and with fall-back
+# transitions removed for 2036-2037, where the normal fall-back
 # date falls during the estimated Ramadan.  Problems continue after that,
 # but 32-bit time_t values roll around in 2038 so for now do not worry
 # about dates after 2037.
@@ -922,13 +923,14 @@ Rule	Morocco	2010	only	-	May	 2	 0:00	1:00	S
 Rule	Morocco	2010	only	-	Aug	 8	 0:00	0	-
 Rule	Morocco	2011	only	-	Apr	 3	 0:00	1:00	S
 Rule	Morocco	2011	only	-	Jul	 31	 0	0	-
-Rule	Morocco	2012	2019	-	Apr	 lastSun 2:00	1:00	S
+Rule	Morocco	2012	2013	-	Apr	 lastSun 2:00	1:00	S
 Rule	Morocco	2012	only	-	Sep	 30	 3:00	0	-
 Rule	Morocco	2012	only	-	Jul	 20	 3:00	0	-
 Rule	Morocco	2012	only	-	Aug	 20	 2:00	1:00	S
 Rule	Morocco	2013	only	-	Jul	  7	 3:00	0	-
 Rule	Morocco	2013	only	-	Aug	 10	 2:00	1:00	S
 Rule	Morocco	2013	2035	-	Oct	 lastSun 3:00	0	-
+Rule	Morocco	2014	2022	-	Mar	 lastSun 2:00	1:00	S
 Rule	Morocco	2014	only	-	Jun	 29	 3:00	0	-
 Rule	Morocco	2014	only	-	Jul	 29	 2:00	1:00	S
 Rule	Morocco	2015	only	-	Jun	 18	 3:00	0	-
@@ -941,10 +943,16 @@ Rule	Morocco	2018	only	-	May	 16	 3:00	0	-
 Rule	Morocco	2018	only	-	Jun	 15	 2:00	1:00	S
 Rule	Morocco	2019	only	-	May	  6	 3:00	0	-
 Rule	Morocco	2019	only	-	Jun	  5	 2:00	1:00	S
+Rule	Morocco	2020	only	-	Apr	 24	 3:00	0	-
 Rule	Morocco	2020	only	-	May	 24	 2:00	1:00	S
+Rule	Morocco	2021	only	-	Apr	 13	 3:00	0	-
 Rule	Morocco	2021	only	-	May	 13	 2:00	1:00	S
+Rule	Morocco	2022	only	-	Apr	  3	 3:00	0	-
 Rule	Morocco	2022	only	-	May	  3	 2:00	1:00	S
-Rule	Morocco	2023	max	-	Apr	 lastSun 2:00	1:00	S
+Rule	Morocco	2023	only	-	Apr	 22	 2:00	1:00	S
+Rule	Morocco	2024	only	-	Apr	 10	 2:00	1:00	S
+Rule	Morocco	2025	only	-	Mar	 31	 2:00	1:00	S
+Rule	Morocco	2026	max	-	Mar	 lastSun 2:00	1:00	S
 Rule	Morocco	2036	only	-	Oct	 21	 3:00	0	-
 Rule	Morocco	2037	only	-	Oct	 11	 3:00	0	-
 
-- 
1.8.1.2




More information about the tz mailing list