delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/07/26/15:34:49

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Fri, 26 Jul 2013 22:34:41 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: zoneinfo not able to recognize if daylight saving time is in effect.
In-reply-to: <51F2C9B5.3090202@gmx.de>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83k3kdyv1q.fsf@gnu.org>
References: <51F2C9B5 DOT 3090202 AT gmx DOT de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 26 Jul 2013 21:10:45 +0200
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> 
> 204cvs.txt
> 
> time_t 1357016400  expected 2013-01-01 00:00:00 EST
>                          got 2013-01-01 00:00:00 EST
> time_t 1362898799  expected 2013-03-10 01:59:59 EST
>                          got 2013-03-10 01:59:59 EST
> time_t 1362898800  expected 2013-03-10 03:00:00 EDT
>                          got 2013-03-10 02:00:00 EST   FAIL
> time_t 1372780800  expected 2013-07-02 12:00:00 EDT
>                          got 2013-07-02 11:00:00 EST   FAIL
> time_t 1383454800  expected 2013-11-03 01:00:00 EDT
>                          got 2013-11-03 00:00:00 EST   FAIL
> time_t 1383458400  expected 2013-11-03 01:00:00 EST
>                          got 2013-11-03 01:00:00 EST
> time_t 1388552399  expected 2013-12-31 23:59:59 EST
>                          got 2013-12-31 23:59:59 EST
> Test FAILED
> 
> 
> 203.txt
> 
> time_t 1357016400  expected 2013-01-01 00:00:00 EST
>                          got 2013-01-01 00:00:00 EST
> time_t 1362898799  expected 2013-03-10 01:59:59 EST
>                          got 2013-03-10 01:59:59 EST
> time_t 1362898800  expected 2013-03-10 03:00:00 EDT
>                          got 2013-03-10 02:00:00 EST   FAIL
> time_t 1372780800  expected 2013-07-02 12:00:00 EDT
>                          got 2013-07-02 12:00:00 EDT
> time_t 1383454800  expected 2013-11-03 01:00:00 EDT
>                          got 2013-11-03 00:00:00 EST   FAIL
> time_t 1383458400  expected 2013-11-03 01:00:00 EST
>                          got 2013-11-03 01:00:00 EST
> time_t 1388552399  expected 2013-12-31 23:59:59 EST
>                          got 2013-12-31 23:59:59 EST
> Test FAILED

The 2 failures in 2.03 are because US timezone rules were changed in
2007, and 2.03 doesn't have those new rules in its timezone database.
The failures are precisely in March and November, which were affected
by the change.  Import the latest timezone database, and the problem
should go away.

As for 2.04, I don't know which timezone database it uses.  Did
someone bother to update from upstream?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019