[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: CVS time zone
RE: CVS time zone
Thu, 27 Jan 2005 17:31:38 -0500
Thanks to all. Server is set to UTC and I'll leave
it at that...
>[mailto:address@hidden On Behalf Of Todd Denniston
>Sent: Thursday, January 27, 2005 5:16 PM
>To: Fouts Christopher (IFNA MP DC)
>Subject: Re: CVS time zone
>> What is the CVS environment variable to set the
>> CVS repository's time zone, CVS_TZ? I couldn't
>> find it in the online docs (searching for "time
>> zone"). Also should it be set to UTC or EST (in
>> eastern US).
>CVS on the server uses the TZ set on the server OS, to get the
>time and uses UTC internally. on linux try `ls /etc/localtime
>-l` man tzselect
>If you happen to be asking about how the time is displayed in
>`cvs log`, in 1.11.x at least it is always in UTC. IMHO
>that is the correct one for CVS to use, it is pretty
>unambiguous. If you want logs shown in EST, look at cvs2cl
>which by default shows them in client machine local timezone,
>or you can select UTC.
>As for as what your server machine should be set to ... either
>the correct TZ for its location, or UTC as long as when the
>admin is setting the time s/he sets the time that is correct
>for the used TZ. easy choice :) I generally use local TZ
>(US/East-Indiana) for the OS system time, and because the Hard
>Ware Clock is not shared with another operating system it
>keeps time at UTC and hwclock knows both of these timezones.
>So I can always gripe at people about _when_ they did things,
>the server gets system time from an several NTP sources.:)
> in 1.12.x I have heard they have played with some of the
>time outputs, but I have not kept track of which ones and how
>they have changed them, the things I indicated may have changed.
>Crane Division, Naval Surface Warfare Center (NSWC Crane)
>Harnessing the Power of Technology for the Warfighter