[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn:keywords - suggestion to add UTCDate

From: Pedro Zorzenon Neto <pzn_at_terra.com.br>
Date: 2006-02-20 00:19:25 CET

Hi,

  About the topic:
     svnbook chapter 7 / svn:keywords

  The keyword $Date$ uses localtime. In CVS, the same keyword uses UTC
time. I have an application that needs Date in UTC. The application will
run in a microcontroller (assembler), so it will be hard to parse and
convert to UTC at runtime. I needed to make a parser to convert $Date$
to UTC at compile time.

  I suggest do be added a future version of SVN the keyword "UTCDate"
that will output something in this format:

     $UTCDate: 2006-01-30 13:17:23 $

  What do you think about adding "UTCDate"? That will make things easier
from people migrating from CVS to SVN.

  Please CC me the answers, I'm not a subscriber of this list.

  Thanks in advance,
    Pedro

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 20 12:13:16 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.