-----BEGIN PGP SIGNED MESSAGE-----
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
<[EMAIL PROTECTED]> 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.
Derek
- --
*8^)
Email: [EMAIL PROTECTED]
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQFAYfEpLD1OTBfyMaQRAvqJAJ9GOA3Zjsz29NTODmzTyakP+2uJugCfQ7t4
hh0N5uFa9mS9CpElX02QbZY=
=9xb4
-----END PGP SIGNATURE-----
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs