Subject: Re: Timezone + CVS
To: =?ISO-8859-1?Q?Florian_St=F6hr?= <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 04/23/2004 15:37:04
[ On Friday, April 23, 2004 at 15:50:34 (+0200), Florian Stöhr wrote: ]
> Subject: Timezone + CVS
> when committing a file to a cvs-"server" running on localhost, the $Id in
> the file says 13:40:02 although it is 15:40:02.
> How to force the cvs to use the local timezone in its messages?
This is an info-cvs list FAQ. :-)
What do you consider "local"? What happens when you re-read the same ID
line created in Germany while you're visiting Canada? Do you somehow
remember that you created that ID line while you were in Germany?
CVS uses one _standard_ time consistently no matter where you are in the
world: Coordinated Universal Time (UTC).
It might have been nice if the the ISO 8601 standard "Z" (which stands
for "zero meridian") suffix had been added to times in RCS keyword
values (or an ISO 8601 style offset from UTC, i.e. "+00:00" to indicate
that UTC is the preferred reference point for the specified time), but
even by the time CVS came along and started using RCS as its underlying
revision tracking tool it was a bit too late to do that.
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <email@example.com>
Planix, Inc. <firstname.lastname@example.org> Secrets of the Weird <email@example.com>