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

Re: Possible bad (incorrect) JavaHL test inserted into 1.5.x

From: Mark Phippard <markphip_at_gmail.com>
Date: Sat, 24 May 2008 21:42:02 -0400

Java only parses to micro secs so string had to be truncated. It also
does not recognize Z as a timezone, so I specified UTC. It is
currently hard coded to that, which I think will be correct, if not
ideal.

Sent from my iPhone

On May 24, 2008, at 9:35 PM, Branko Čibej <brane_at_xbc.nu> wrote:

> Mark Phippard wrote:
>> Are Subversion dates always in UTC? That is what I think the
>> problem is.
>>
>
> We do put the timezone in the props, don't we:
>
> $ svn pg --revprop svn:date -rHEAD https://svn.collab.net/repos/svn/trunk
> 2008-05-25T00:03:02.098312Z
>
> That 'Z' at the end there is very relevant indeed, it indicates
> timezone "Zulu" a.k.a. UTC. If the timestamp parsing code doesn't
> take the timezone tag into account and correctly adjust the time for
> it, then it is, to put it mildly, broken.
>
> -- Brane
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-25 03:43:25 CEST

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.