-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Larry Jones wrote:
>>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. > > >No, CVS always displays times in UTC. Because of the complexities of >client/server mode, a lot of infrastructure would be required to support >local time display and no one has felt compelled to do the work. I wouldn't call a new MT tag "a lot of infrastructure". The implementation should be fairly straightforward and simple, I should think. For you to use the "MT" command, there is at least one example in the WriteLetter() function in update.c, but you should be able to find others by grepping the source for "MT". The handle_mt() function in client.c would be the place where the new "datetime" tag and its text would need to be converted into a local time. Other than that the only necessary change should be to avoid printing the whole line containing the time in src/log.c, or maybe src/rcs.c, and break the line up into a series of MT commands. 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 iD8DBQFAYfXxLD1OTBfyMaQRAoZwAJ9fa1XhMa4bWR3TJ9BHuC7j/uAShACgxUnO cx1BcJCMn/gmCJNqoNOGe4M= =c2qe -----END PGP SIGNATURE----- _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs