Discussion:
wrong time zone
Rez P
2010-02-24 00:46:02 UTC
Permalink
CVS files are checked in military time and with wrong time zone.



I just logged into our Linux server where CVS is being hosted and the date command returns
Tue Feb 23 16:22:33 PST 2010



Howerver a file checked in around 1pm today has the cvs $header $ information as 21:mm:ss. How do I get it to match the server time or PST time?



Thanks

_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
Jim Hyslop
2010-02-24 03:44:55 UTC
Permalink
Rez P wrote:
> CVS files are checked in military time and with wrong time zone.
No, CVS uses a 24 hour time, and stores everything as UTC.

> I just logged into our Linux server where CVS is being hosted and the
> date command returns Tue Feb 23 16:22:33 PST 2010
>
> Howerver a file checked in around 1pm today has the cvs $header $
> information as 21:mm:ss. How do I get it to match the server time or
> PST time?
Your CVS installation is working correctly. 2100 UTC is 1300 PST.

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
Rez P
2010-02-24 18:44:55 UTC
Permalink
Great, thanks. Got worried there for a second that I didn't set something correctly. :)

> Date: Tue, 23 Feb 2010 22:44:55 -0500
> From: ***@dreampossible.ca
> To: ***@hotmail.com
> CC: info-***@nongnu.org
> Subject: Re: wrong time zone
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rez P wrote:
> > CVS files are checked in military time and with wrong time zone.
> No, CVS uses a 24 hour time, and stores everything as UTC.
>
> > I just logged into our Linux server where CVS is being hosted and the
> > date command returns Tue Feb 23 16:22:33 PST 2010
> >
> > Howerver a file checked in around 1pm today has the cvs $header $
> > information as 21:mm:ss. How do I get it to match the server time or
> > PST time?
> Your CVS installation is working correctly. 2100 UTC is 1300 PST.
>
> - --
> Jim Hyslop
> Dreampossible: Better software. Simply. http://www.dreampossible.ca
> Consulting * Mentoring * Training in
> C/C++ * OOD * SW Development & Practices * Version Management
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkuEoLcACgkQLdDyDwyJw+MUKwCgyIX7UbY4VXZlDXWZqT32rSDu
> F9sAoKlMBbXrngh3RQEcBDuQP/JhlmOm
> =ZLyF
> -----END PGP SIGNATURE-----

_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/201469228/direct/01/
Loading...