[cvsnt] $Date$ format in cvsnt?

Tony Hoyle tony.hoyle at march-hare.com
Thu Jul 6 14:00:08 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


David Somers wrote:

> I always wondered why CVS[NT] never used the ISO8601 format... seems
> crazy not to use a standard. Tony, how about having an option to
> return dates in this format?

It's ctime format... it's a fixed format because it's only ever
transmitted as text and compared in the entries files etc.  If it was
changed it would break existing sandboxes (in fact the windows ctime is
slightly incompatible so we have to modify it on Win32 to be the same as
the unix one).

The triggers are already passed the preformatted string since the
original isn't available, so it'd be a fairly big change to try to 
modify that for them.  OTOH you can run it through Date::Parse in a perl 
script and convert it to anything you like.

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook