Subject: Re: CVS commit: basesrc
To: None <jwise@draga.com>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: source-changes
Date: 09/08/2000 00:01:56
In message <Pine.NEB.4.21.0009071014400.11154-100000@ithilien.draga.com>
on Thu, 7 Sep 2000 10:15:40 -0400 (EDT),
Jim Wise <jwise@draga.com> wrote:
> >Log Message:
> >- Fix strftime(3) not to ignore tm_zone filed of last parameter,
> > and "%Z" in format string is converted as proper time zone.
> > This was taken from tzcode2000f. Fix PR lib/10950.
>
> Hmm. The one regression test which the pkgsrc tcl fails has to do with
> obeying time zones when formatting dates. I wonder if this was what
> triggered that? :-)
I've checked pkgsrc tcl on NetBSD 1.5_ALPHA2.
With strftime.c 1.10, clock.test has failed as bellow.
With strftime.c 1.11, clock.test has passed!
==== clock-3.4 clock format tests FAILED
==== Contents of test case:
...
set x {}
append x [clock format 863800000 -format %Z -gmt 1]
append x [clock format 863800000 -format %Z -gmt 1]
---- Result was:
JSTJST
---- Result should have been:
GMTGMT
--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>