[tz] Chile/EasterIsland 1982 broken by 2015a?

Tim Parenti tim at timtimeonline.com
Mon Feb 16 16:27:33 UTC 2015


Good catch!  This does indeed appear to be a regression, introduced in https://github.com/eggert/tz/commit/bba6b9ac715c1a05cd06e979d862108c821f53d5.  Proposed patch attached.

--
Tim Parenti

On 16 Feb 2015 07:35, Stuart Bishop wrote:
> My test suite broke with 2015a, leading me to Chile/EasterIsland and
> Pacific/Easter in 1982:
>
> Chile/EasterIsland  Sun Oct 11 04:00:00 1981 UT = Sat Oct 10 22:00:00
> 1981 EASST isdst=1 gmtoff=-21600
> Chile/EasterIsland  Sat Mar 13 02:59:59 1982 UT = Fri Mar 12 20:59:59
> 1982 EASST isdst=1 gmtoff=-21600
> Chile/EasterIsland  Sat Mar 13 03:00:00 1982 UT = Fri Mar 12 22:00:00
> 1982 EASST isdst=1 gmtoff=-18000
> Chile/EasterIsland  Sun Mar 14 02:59:59 1982 UT = Sat Mar 13 21:59:59
> 1982 EASST isdst=1 gmtoff=-18000
> Chile/EasterIsland  Sun Mar 14 03:00:00 1982 UT = Sat Mar 13 21:00:00
> 1982 EAST isdst=0 gmtoff=-21600
> Chile/EasterIsland  Sun Oct 10 03:59:59 1982 UT = Sat Oct  9 21:59:59
> 1982 EAST isdst=0 gmtoff=-21600
> Chile/EasterIsland  Sun Oct 10 04:00:00 1982 UT = Sat Oct  9 23:00:00
> 1982 EASST isdst=1 gmtoff=-18000
> Chile/EasterIsland  Sun Mar 13 02:59:59 1983 UT = Sat Mar 12 21:59:59
> 1983 EASST isdst=1 gmtoff=-18000
>
> Did it really put the clocks forward one hour on Mar 12, then back again Mar 13?
>

-------------- next part --------------
From dc3b786bde5b9cef6fa9ec5d227e9c3df621d43b Mon Sep 17 00:00:00 2001
From: Tim Parenti <tim at timtimeonline.com>
Date: Mon, 16 Feb 2015 11:22:19 -0500
Subject: * southamerica (Pacific/Easter): Fix regression in 1982 shift.

This corrects a regression introduced in
bba6b9ac715c1a05cd06e979d862108c821f53d5.
---
 NEWS         | 3 +++
 southamerica | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 33e983f..dfda622 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ Unreleased, experimental changes
 
   Changes affecting past time stamps
 
+    The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
+    regression.  (Thanks to Stuart Bishop for reporting the problem.)
+
     Some more zones have been turned into links, when they differed
     from existing zones only for older time stamps.  As usual,
     these changes affect UTC offsets in pre-1970 time stamps only.
diff --git a/southamerica b/southamerica
index fc0cc54..dd77a1d 100644
--- a/southamerica
+++ b/southamerica
@@ -1269,7 +1269,7 @@ Zone America/Santiago	-4:42:46 -	LMT	1890
 			-3:00	-	CLT
 Zone Pacific/Easter	-7:17:44 -	LMT	1890
 			-7:17:28 -	EMT	1932 Sep    # Easter Mean Time
-			-7:00	Chile	EAS%sT	1982 Mar 13 3:00u # Easter Time
+			-7:00	Chile	EAS%sT	1982 Mar 14 3:00u # Easter Time
 			-6:00	Chile	EAS%sT	2015 Apr 26 3:00u
 			-5:00	-	EAST
 #
-- 
2.1.4


More information about the tz mailing list