!226 [sync] PR-220: The time zone rule of Paraguay is changed.

From: @openeuler-sync-bot 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
This commit is contained in:
openeuler-ci-bot 2024-10-31 06:18:12 +00:00 committed by Gitee
commit dc7799b71c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 159 additions and 1 deletions

View File

@ -0,0 +1,82 @@
From 636e6f983bca35e6f945e092ffdc315ae3e5dd9e Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat, 5 Oct 2024 09:57:40 -0700
Subject: [PATCH] Paraguay adopts permanent -03 starting spring 2024
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
(Thanks to Heitor David Pinto and Even Scharning.)
* NEWS: Mention this.
* southamerica (Para): Stop DST transitions in fall 2024.
(America/Asuncion): Switch to -03 without DST in spring 2024.
* zonenow.tab (America/Asuncion): Remove, since its equivalent to
America/Sao_Paulo starting tomorrow and we wont have a new TZDB
release before tomorrow. Until then, you can check with
make CHECK_NOW_TIMESTAMP=1728187201 check.
Reference: https://github.com/eggert/tz/commit/636e6f983bca35e6f945e092ffdc315ae3e5dd9e
Conflict: 1.remove NEWS.
2.Modify context due to 94e6b3b0eb773e66a9ac49b905c69c0fa6a31dc3 not merged.
---
southamerica | 16 +++++++++++++---
zonenow.tab | 3 ---
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/southamerica b/southamerica
index c8d9097a..24f92e24 100644
--- a/southamerica
+++ b/southamerica
@@ -1687,7 +1687,7 @@ Rule Para 2005 2009 - Mar Sun>=8 0:00 0 -
# and that on the first Sunday of the month of October, it is to be set
# forward 60 minutes, in all the territory of the Paraguayan Republic.
# ...
-Rule Para 2010 max - Oct Sun>=1 0:00 1:00 -
+Rule Para 2010 2023 - Oct Sun>=1 0:00 1:00 -
Rule Para 2010 2012 - Apr Sun>=8 0:00 0 -
#
# From Steffen Thorsen (2013-03-07):
@@ -1706,14 +1706,24 @@ Rule Para 2010 2012 - Apr Sun>=8 0:00 0 -
# https://www.abc.com.py/politica/2023/07/12/promulgacion-el-cambio-de-hora-sera-por-ley/
# From Carlos Raúl Perasso (2023-07-27):
# http://silpy.congreso.gov.py/descarga/ley-144138
-Rule Para 2013 max - Mar Sun>=22 0:00 0 -
+Rule Para 2013 2024 - Mar Sun>=22 0:00 0 -
+#
+# From Heitor David Pinto (2024-09-24):
+# Today the Congress of Paraguay passed a bill to observe UTC-3 permanently....
+# The text of the bill says that it would enter into force on the first
+# Sunday in October 2024, the same date currently scheduled to start DST....
+# https://silpy.congreso.gov.py/web/expediente/132531
+# From Even Scharning (2024-10-04):
+# President Santiago Peña confirmed today that he will sign the bill. Source:
+# https://www.ip.gov.py/ip/2024/10/04/ejecutivo-confirma-que-promulgara-ley-de-horario-unico-en-el-territorio-paraguayo/
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone America/Asuncion -3:50:40 - LMT 1890
-3:50:40 - AMT 1931 Oct 10 # Asunción Mean Time
-4:00 - -04 1972 Oct
-3:00 - -03 1974 Apr
- -4:00 Para -04/-03
+ -4:00 Para -04/-03 2024 Oct 6 0:00
+ -3:00 - -03
# Peru
#
diff --git a/zonenow.tab b/zonenow.tab
index 050d8a7d..53545857 100644
--- a/zonenow.tab
+++ b/zonenow.tab
@@ -97,9 +97,6 @@ XX +1828-06954 America/Santo_Domingo Atlantic Standard ("AST") - eastern Caribbe
# -04/-03 (Chile DST)
XX -3327-07040 America/Santiago most of Chile
#
-# -04/-03 (Paraguay DST)
-XX -2516-05740 America/Asuncion Paraguay
-#
# -04/-03 - AST/ADT (North America DST)
XX +4439-06336 America/Halifax Atlantic ("AST/ADT") - Canada; Bermuda
#
--
2.28.0.windows.1

View File

@ -0,0 +1,67 @@
From 486e1e890e68d52f9236b2b354484463f57ec692 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 15 Oct 2024 08:13:38 -0700
Subject: [PATCH] Paraguay tm_isdst flag goes to 0 today
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* southamerica (America/Asuncion): Legal change was today.
(Thanks to Heitor David Pinto.) This doesnt affect UT offset or
abbreviation, only the obsolescent tm_isdst flag.
Reference: https://github.com/eggert/tz/commit/486e1e890e68d52f9236b2b354484463f57ec692
Conflict: 1.remove NEWS.
2.Modify context due to 94e6b3b0eb773e66a9ac49b905c69c0fa6a31dc3 not merged.
---
southamerica | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/southamerica b/southamerica
index 24f92e24..1fcf6514 100644
--- a/southamerica
+++ b/southamerica
@@ -1656,7 +1656,7 @@ Rule Para 2005 2009 - Mar Sun>=8 0:00 0 -
# and that on the first Sunday of the month of October, it is to be set
# forward 60 minutes, in all the territory of the Paraguayan Republic.
# ...
-Rule Para 2010 2023 - Oct Sun>=1 0:00 1:00 -
+Rule Para 2010 2024 - Oct Sun>=1 0:00 1:00 -
Rule Para 2010 2012 - Apr Sun>=8 0:00 0 -
#
# From Steffen Thorsen (2013-03-07):
@@ -1676,16 +1676,27 @@ Rule Para 2013 2024 - Mar Sun>=22 0:00 0 -
# The text of the bill says that it would enter into force on the first
# Sunday in October 2024, the same date currently scheduled to start DST....
# https://silpy.congreso.gov.py/web/expediente/132531
-# From Even Scharning (2024-10-04):
-# President Santiago Peña confirmed today that he will sign the bill. Source:
-# https://www.ip.gov.py/ip/2024/10/04/ejecutivo-confirma-que-promulgara-ley-de-horario-unico-en-el-territorio-paraguayo/
+# (2024-10-14):
+# The president approved the law on 11 October 2024,
+# and it was officially published on 14 October 2024.
+# https://www.gacetaoficial.gov.py/index/detalle_publicacion/89723
+# The text of the law says that it enters into force on the first
+# Sunday in October 2024 (6 October 2024). But the constitution
+# prohibits retroactive effect, and the civil code says that laws
+# enter into force on the day after their publication or on the day
+# that they specify, and it also says that they don't have retroactive
+# effect. So I think that the time change on 6 October 2024 should
+# still be considered as DST according to the previous law, and
+# permanently UTC-3 from 15 October 2024 according to the new law....
+# https://www.constituteproject.org/constitution/Paraguay_2011
+# https://www.oas.org/dil/esp/codigo_civil_paraguay.pdf
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone America/Asuncion -3:50:40 - LMT 1890
-3:50:40 - AMT 1931 Oct 10 # Asunción Mean Time
-4:00 - -04 1972 Oct
-3:00 - -03 1974 Apr
- -4:00 Para -04/-03 2024 Oct 6 0:00
+ -4:00 Para -04/-03 2024 Oct 15
-3:00 - -03
# Peru
--
2.28.0.windows.1

View File

@ -1,6 +1,6 @@
Name: tzdata Name: tzdata
Version: 2024a Version: 2024a
Release: 2 Release: 3
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
@ -9,6 +9,9 @@ Source1: https://data.iana.org/time-zones/releases/tzcode%{version}.tar.gz
Source2: javazic.tar.gz Source2: javazic.tar.gz
Source3: javazic-1.8-37392f2f5d59.tar.xz Source3: javazic-1.8-37392f2f5d59.tar.xz
Patch6000: backport-Paraguay-adopts-permanent-03-starting-spring-2024.patch
Patch6001: backport-Paraguay-tm_isdst-flag-goes-to-0-today.patch
Patch9000: bugfix-0001-add-Beijing-timezone.patch Patch9000: bugfix-0001-add-Beijing-timezone.patch
Patch9001: remove-ROC-timezone.patch Patch9001: remove-ROC-timezone.patch
Patch9002: rename-Macau-to-Macao.patch Patch9002: rename-Macau-to-Macao.patch
@ -109,6 +112,12 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/
%{_datadir}/javazi-1.8 %{_datadir}/javazi-1.8
%changelog %changelog
* Thu Oct 31 2024 langfei <langfei@huawei.com> - 2024a-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC: The time zone rule of Paraguay is changed.
* Wed Apr 10 2024 wangxiaomeng <wangxiaomeng@kylinos.cn> - 2024a-2 * Wed Apr 10 2024 wangxiaomeng <wangxiaomeng@kylinos.cn> - 2024a-2
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA