From 3d9c1be0cdf298f8a3622b0678ce42d37a528720 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Wed, 27 Mar 2013 20:02:23 +0100 Subject: [PATCH] Palestine starts Daylight Saving Time on March 29, 2013 --- tzdata-2013b-gaza.patch | 92 +++++++++++++++++++++++++++++++++++++++++ tzdata.spec | 13 +++--- 2 files changed, 99 insertions(+), 6 deletions(-) create mode 100644 tzdata-2013b-gaza.patch diff --git a/tzdata-2013b-gaza.patch b/tzdata-2013b-gaza.patch new file mode 100644 index 0000000..1a0d6d4 --- /dev/null +++ b/tzdata-2013b-gaza.patch @@ -0,0 +1,92 @@ +Thanks for the heads-up. Here's a draft patch to the +tz database, which I've pushed to the experimental repository +at . + +>From 63814cf0a86a5329fecf12e6a60d527a83b9b729 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Tue, 26 Mar 2013 14:23:08 -0700 +Subject: [PATCH] Palestine observes DST starting March 29, 2013. + +Thanks to Steffen Thorsen, in +. +* asia (Palestine): Add rules for 2011 on, to simplify Gaza and Hebron. +Adjust to recently announced changed. +(Asia/Gaza, Asia/Hebron): Use adjusted rules. +--- + asia | 46 ++++++++++++++++++++++++---------------------- + 1 file changed, 24 insertions(+), 22 deletions(-) + +diff --git a/asia b/asia +index 1f09fa3..e94deb7 100644 +--- a/asia ++++ b/asia +@@ -2291,11 +2291,20 @@ Zone Asia/Karachi 4:28:12 - LMT 1907 + # http://www.timeanddate.com/news/time/gaza-west-bank-dst-2012.html + # + +-# From Arthur David Olson (2012-03-27): +-# The timeanddate article for 2012 says that "the end date has not yet been +-# announced" and that "Last year, both...paused daylight saving time during... +-# Ramadan. It is not yet known [for] 2012." +-# For now, assume both switch back on the last Friday in September. XXX ++# From Steffen Thorsen (2013-03-26): ++# The following news sources tells that Palestine will "start daylight saving ++# time from midnight on Friday, March 29, 2013" (translated). ++# [These are in Arabic and are for Gaza and for Ramallah, respectively.] ++# http://www.samanews.com/index.php?act=Show&id=154120 ++# http://safa.ps/details/news/99844/%D8%B1%D8%A7%D9%85-%D8%A7%D9%84%D9%84%D9%87-%D8%A8%D8%AF%D8%A1-%D8%A7%D9%84%D8%AA%D9%88%D9%82%D9%8A%D8%AA-%D8%A7%D9%84%D8%B5%D9%8A%D9%81%D9%8A-29-%D8%A7%D9%84%D8%AC%D8%A7%D8%B1%D9%8A.html ++ ++# From Paul Eggert (2013-03-26): ++# For future dates, guess the last Thursday in March at 24:00 through ++# the first Friday on or after September 21 at 01:00. This is consistent with ++# the predictions in today's editions of the following URLs, ++# which are for Gaza and Hebron respectively: ++# http://www.timeanddate.com/worldclock/timezone.html?n=702 ++# http://www.timeanddate.com/worldclock/timezone.html?n=2364 + + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule EgyptAsia 1957 only - May 10 0:00 1:00 S +@@ -2317,11 +2326,10 @@ Rule Palestine 2009 only - Mar lastFri 0:00 1:00 S + Rule Palestine 2009 only - Sep Fri>=1 2:00 0 - + Rule Palestine 2010 only - Mar lastSat 0:01 1:00 S + Rule Palestine 2010 only - Aug 11 0:00 0 - +- +-# From Arthur David Olson (2011-09-20): +-# 2011 transitions per http://www.timeanddate.com as of 2011-09-20. +-# From Paul Eggert (2012-10-12): +-# 2012 transitions per http://www.timeanddate.com as of 2012-10-12. ++Rule Palestine 2011 only - Apr 2 0:01 1:00 S ++Rule Palestine 2011 only - Aug 1 0:00 0 - ++Rule Palestine 2012 max - Mar lastThu 24:00 1:00 S ++Rule Palestine 2012 max - Sep Fri>=21 1:00 0 - + + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Asia/Gaza 2:17:52 - LMT 1900 Oct +@@ -2329,11 +2337,7 @@ Zone Asia/Gaza 2:17:52 - LMT 1900 Oct + 2:00 EgyptAsia EE%sT 1967 Jun 5 + 2:00 Zion I%sT 1996 + 2:00 Jordan EE%sT 1999 +- 2:00 Palestine EE%sT 2011 Apr 2 12:01 +- 2:00 1:00 EEST 2011 Aug 1 +- 2:00 - EET 2012 Mar 30 +- 2:00 1:00 EEST 2012 Sep 21 1:00 +- 2:00 - EET ++ 2:00 Palestine EE%sT + + Zone Asia/Hebron 2:20:23 - LMT 1900 Oct + 2:00 Zion EET 1948 May 15 +diff --git a/asia b/asia +index 1f09fa3..e94deb7 100644 +--- a/asia ++++ b/asia +@@ -2350,9 +2350,7 @@ Zone Asia/Hebron 2:20:23 - LMT 1900 Oct + 2:00 1:00 EEST 2011 Aug 1 + 2:00 - EET 2011 Aug 30 + 2:00 1:00 EEST 2011 Sep 30 3:00 +- 2:00 - EET 2012 Mar 30 +- 2:00 1:00 EEST 2012 Sep 21 1:00 +- 2:00 - EET ++ 2:00 Palestine EE%sT + + # Paracel Is + # no information diff --git a/tzdata.spec b/tzdata.spec index a6387a5..71e951b 100644 --- a/tzdata.spec +++ b/tzdata.spec @@ -3,14 +3,13 @@ Name: tzdata Version: 2013b %define tzdata_version 2013b %define tzcode_version 2013b -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain Group: System Environment/Base URL: https://www.iana.org/time-zones Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz Source1: ftp://ftp.iana.org/tz/releases/tzcode%{tzcode_version}.tar.gz -# __decl_patches -# __end +Patch0: tzdata-2013b-gaza.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gawk, glibc, perl @@ -35,9 +34,7 @@ This package contains timezone information for use by Java runtimes. %prep %setup -q -c -a 1 - -# __apply_patches -# __end +%patch0 -p1 mkdir javazic tar zxf %{SOURCE3} -C javazic @@ -98,6 +95,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/javazi %changelog +* Wed Mar 27 2013 Petr Machata - 2013b-2 +- Palestine starts Daylight Saving Time on March 29, 2013 + (tzdata-2013b-gaza.patch) + * Wed Mar 13 2013 Petr Machata - 2013b-1 - Upstream 2013b - Paraguay will end DST on March 24 this year