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

Re: PATCH: obscure bugs in formatting of time/date strings

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-12-19 17:35:56 CET

mark benedetto king wrote:
> On Wed, Dec 17, 2003 at 03:10:48AM +0000, Julian Foad wrote:
>
>> Fix the formatting of negative fractional-hour time offsets: an offset
>> of -75 minutes was written as "-01-15" instead of the correct "-0115".
>
> I think -01:15 is correct for ISO 8601 extended date-time; the -0115 format
> should only be used for "basic" date-time (even though I incorrectly
> cut-and-pasted the TZI format between the two in my recent RFC on rewriting
> the date parser).

I am talking about the time string used for log messages.

Presently (faking odd time zones):

r8041 | striker | 2003-12-19 09:10:02 +0330 (Fri, 19 Dec 2003) | 5 lines
r8041 | striker | 2003-12-19 09:10:02 -01-15 (Fri, 19 Dec 2003) | 5 lines

Fixed by my patch:

r8041 | striker | 2003-12-19 09:10:02 +0330 (Fri, 19 Dec 2003) | 5 lines
r8041 | striker | 2003-12-19 09:10:02 -0115 (Fri, 19 Dec 2003) | 5 lines

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 19 17:38:47 2003

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.