Subject: Re: cvs chroot vs. timezone
To: None <netbsd-users@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: netbsd-users
Date: 03/10/2004 10:37:05
--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Jukka Marin <jmarin@embedtronics.fi> wrote:
> On Tue, Mar 09, 2004 at 05:32:25PM -0500, Jan Schaumann wrote:
> > I have a cvs server running in a chroot, and it appears that I just
> > can't get it to use the right timezone.  Any file committed gets a
> > timestamp in UTC.  I've set /chroot/etc/localtime correctly, and if I
> > chroot into the chroot, it does give me the correct date.
>=20
> The timestamps (and all other times) _always_ are in UTC (assuming you
> have set the time correctly).  The timezone only affects the routines
> which convert time to human-readable form (and vice-versa).

That's what I assumed.  But I had thought that the $Id: $ tag would be
represented in localtime.  Thinking about this, that doesn't seem to
make much sense, or maybe I'm just confused.  Probably the latter. ;-)

-Jan

--=20
http://www.ncadp.org

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFATzYhfFtkr68iakwRAt9GAJ9Ryhq9X5Bh6a6yYvQ83/AxMUS7TwCgmSnF
04FebHBmLKZpmUvMfT4NAqA=
=7IAs
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--