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

Re: ISO-8601 dates and issue 614

From: Branko ╚ibej <brane_at_xbc.nu>
Date: 2002-05-07 00:13:16 CEST

Nuutti Kotivuori wrote:

>brane@xbc.nu wrote:
>>Ben Collins-Sussman wrote:
>>>Branko ╚ibej <brane@xbc.nu> writes:
>>>>And yes, whatever timestamps we store in .svn/entries or send over
>>>>the wire should be UTC; svn_time_to_nts and svn_time_from_nts are
>>>>the places where this should be fixed.
>>>Yes, this is the correct approach.
>>>But the implementor should be careful that they don't break existing
>>>working copies. We all have old-style dates sitting in our entries
>>>files; svn_time_from_nts() should be able to recognize *either*
>>>format of date-string, even though svn_time_to_nts() will be writing
>>>out ISO dates.
>>Ah yes, good point. Either that, or provide a script that converts
>>the WC (like we did some time ago when we changed
>Yes, this is basically what I though as well - so I'll get the job
>Though I would really like to get some kind of an answer that what do
>we want to do with the old style svn_time_to_nts things - is there
>something worth keeping there?

Assuming you provide a script to convert the WC, I don't think so. It's
not worth keeping the month/day name parsing there -- that should go
into apr_strptime.

Brane ╚ibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 7 00:14:12 2002

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.