[Top][All Lists]

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

Re: cvs log and UTC

From: Derek Robert Price
Subject: Re: cvs log and UTC
Date: Wed, 24 Mar 2004 15:35:53 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Hash: SHA1

Blaney, Liza wrote:

> Message
> I have been asked to "fix" this by my boss: cvs log returns the
> timestamp of the file in Coordinated Univeral Time.  All other ways of
> looking at the timestamp return it in local time.  Is there any quick,
> elegant way to get cvs log to display the date in local time? (I think
> I know the answer.) Thanks.

I've considered this problem before but have never had the time to
implement the solution.  The most "correct" way I have come up with is
to add a tagged text type to the client/server protocol using the "MT"
response type.  The client/server protocol is defined in such a way (and
clients hopefully written in such a way) that unrecognized MT tags have
their associated texty passed through as is.  Thus, a new tagged type
like "datetime" could be followed by the time in UTC and old clients
would pass through the string as is, duplicating the old log format, and
new clients, which knew about the new "datetime" tag, could convert the
time to local time.

If you do end up implementing this, please send the patch to
<address@hidden> and to me in case the bug-cvs list is on the blink
again.  I would like to see this change go into CVS and then you
wouldn't have to maintain a local fork of CVS for your boss.


- --

Email: address@hidden

Get CVS support at <>!
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape -


reply via email to

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