info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS concept of time - time zone part 44!


From: Mark D. Baushke
Subject: Re: CVS concept of time - time zone part 44!
Date: Wed, 23 Feb 2005 15:09:52 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<address@hidden> writes:

> This has been talked about several times, so I said part 44! :)
> 
> However something still does NOT make sense to me..
> 
> My sandbox and server are BOTH on the EST time zone, at least when
> I say "date" I get the EST time. However, when I issue a CVS command
> (tag, commit, etc.) on the server, the server shows 5 hour diff. between
> when the command is issued and a cvs report. Ex...
> 
> On client (HPUX 10.20) sandbox
>    > date 
>      Wed Feb 23 17:30:14 EST 2005
> On Linux box (Fedora) server
>    > date
>      Wed Feb 23 17:30:20 EST 2005
> 
> On sandbox
>    > cvs rtag -F -r b_branchname t_tagname proj
>    > cvs history -Ta 
>      T 2005-02-23 22:30 +0000 user  proj  [t_tagname:b_branchname]
                          ^^^^^ UTC numeric timezone
> 
> See what I mean? This would make sense if Linux box was set to UTC, 
> but it's set to EST correct?

CVS keeps time in UTC to allow for clients that may be in other
timezones. It is always in UTC. User input of dates defaults to
local time, but you may add a timezone explicitly to the datestamp
if you wish.

        Enjoy!
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCHQ1A3x41pRYZE/gRAhj2AKC5E2PFHngZcF9qdEdq2TYCPUdUswCdFlMO
BXHkVK8XakPK7qpV/9Wov/M=
=SEWS
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]