!166 [sync] PR-163: tzdata: Egypt now uses DST again

From: @openeuler-sync-bot 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
This commit is contained in:
openeuler-ci-bot 2023-03-10 06:09:48 +00:00 committed by Gitee
commit cd0f854912
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 89 additions and 1 deletions

View File

@ -0,0 +1,47 @@
From dcd8cbed23201416cbd3bbf43f669737693282d7 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 1 Mar 2023 12:10:57 -0800
Subject: [PATCH 1/2] Egypt now uses DST again
Reference: https://github.com/eggert/tz/commit/dcd8cbed23201416cbd3bbf43f669737693282d7
Conflict: remove NEWS; context
From 2023 Egypt plans to observe DST from April's last Friday
through October's last Thursday (Thanks to Ahmad ElDardiry.)
Assume 00:00 and 24:00 transitions.
* NEWS: Mention this.
* africa (Egypt): Implement this.
---
africa | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/africa b/africa
index d5f80ac..b4d0694 100644
--- a/africa
+++ b/africa
@@ -343,6 +343,13 @@ Rule Egypt 2007 only - Sep Thu>=1 24:00 0 -
# From Mina Samuel (2016-07-04):
# Egyptian government took the decision to cancel the DST,
+# From Ahmad ElDardiry (2023-03-01):
+# Egypt officially announced today that daylight savings will be
+# applied from last Friday of April to last Thursday of October.
+# https://www.mena.org.eg/ar/news/dbcall/table/textnews/id/10044253
+# From Paul Eggert (2023-03-01):
+# Assume transitions are at 00:00 and 24:00 respectively.
+
Rule Egypt 2008 only - Aug lastThu 24:00 0 -
Rule Egypt 2009 only - Aug 20 24:00 0 -
Rule Egypt 2010 only - Aug 10 24:00 0 -
@@ -352,6 +359,8 @@ Rule Egypt 2014 only - May 15 24:00 1:00 S
Rule Egypt 2014 only - Jun 26 24:00 0 -
Rule Egypt 2014 only - Jul 31 24:00 1:00 S
Rule Egypt 2014 only - Sep lastThu 24:00 0 -
+Rule Egypt 2023 max - Apr lastFri 0:00 1:00 S
+Rule Egypt 2023 Max - Oct lastThu 24:00 0 -
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
--
2.33.0

33
backport-Max-max.patch Normal file
View File

@ -0,0 +1,33 @@
From af242d11b62584808a66851b8707148bf1ee8d0a Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 2 Mar 2023 02:01:27 -0800
Subject: [PATCH 2/2] =?UTF-8?q?Max=20=E2=86=92=20max?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Reference: https://github.com/eggert/tz/commit/af242d11b62584808a66851b8707148bf1ee8d0a
Conflict: context
* africa (Egypt): Use lower-case max for consistency.
(Thanks to Peter Krefting.)
---
africa | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/africa b/africa
index b4d0694..6ea984b 100644
--- a/africa
+++ b/africa
@@ -360,7 +360,7 @@ Rule Egypt 2014 only - Jun 26 24:00 0 -
Rule Egypt 2014 only - Jul 31 24:00 1:00 S
Rule Egypt 2014 only - Sep lastThu 24:00 0 -
Rule Egypt 2023 max - Apr lastFri 0:00 1:00 S
-Rule Egypt 2023 Max - Oct lastThu 24:00 0 -
+Rule Egypt 2023 max - Oct lastThu 24:00 0 -
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
--
2.33.0

View File

@ -1,6 +1,6 @@
Name: tzdata Name: tzdata
Version: 2022a Version: 2022a
Release: 11 Release: 12
Summary: Timezone data Summary: Timezone data
License: Public Domain License: Public Domain
URL: https://www.iana.org/time-zones URL: https://www.iana.org/time-zones
@ -22,6 +22,8 @@ Patch6009: backport-Treat-1931-changes-in-Mexico-as-DST.patch
Patch6010: backport-Greenland-change-should-affect-only-America-Nuuk.patch Patch6010: backport-Greenland-change-should-affect-only-America-Nuuk.patch
Patch6011: backport-The-northern-edge-of-Chihuahua-changes-to-US-rules.patch Patch6011: backport-The-northern-edge-of-Chihuahua-changes-to-US-rules.patch
Patch6012: backport-Much-of-Greenland-still-uses-DST-from-2024-on.patch Patch6012: backport-Much-of-Greenland-still-uses-DST-from-2024-on.patch
Patch6013: backport-Egypt-now-uses-DST-again.patch
Patch6014: backport-Max-max.patch
Patch9000: bugfix-0001-add-Beijing-timezone.patch Patch9000: bugfix-0001-add-Beijing-timezone.patch
Patch9001: remove-country-selection-from-tzselect-steps.patch Patch9001: remove-country-selection-from-tzselect-steps.patch
@ -122,6 +124,12 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/
%{_datadir}/javazi-1.8 %{_datadir}/javazi-1.8
%changelog %changelog
* Fri Mar 10 2023 qinyu<qinyu32@huawei.com> - 2022a-12
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC: Egypt now uses DST again
* Mon Dec 5 2022 qinyu<qinyu32@huawei.com> - 2022a-11 * Mon Dec 5 2022 qinyu<qinyu32@huawei.com> - 2022a-11
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA