[chora] Date display wrong in Chora 0.6.1 and 1.0

Mathieu Arnold arn_mat@club-internet.fr
Sun, 10 Feb 2002 20:42:46 +0100


Chuck Hagenbuch wrote:
> 
> Quoting John Hoffmann <jhoffmann@vasoftware.com>:
> 
> > If you committed files at 13:00 EST, cvs would store the date in UTC format,
> > or 18:00 UTC. Chora would then call mktime on the UTC date that cvs gave it.
> > mktime uses your local TZ setting, so now 18:00 (which was UTC, but treated
> > as EST) became 23:00. Then chora calls gmdate on this value, which treats it
> > as if it
> > were UTC, and displays a file modification time of 23:00 EST, even though
> > the file was committed at 13:00 EST.
> >
> > I've reversed the order, so that it calls gmmktime, then date (not gmdate).
> > It seems to be working properly here, please test.  Of course I never
> > noticed before
> 
> I've reproduced the problem and this fixes it as advertised. Committed, thanks!
> 
> -chuck

I remember saying so at :
Date: Tue, 10 Apr 2001 19:31:12 +0200
Message-ID: <3AD34360.23691A1D@club-internet.fr>

I was then told that my box was misconfigured :-)

-- 
Mathieu Arnold