[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: Branko Čibej <brane_at_xbc.nu>
Date: Sun, 25 May 2008 03:52:51 +0200

Mark Phippard wrote:
> 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.

Should be fine. I would suggest to check that the trailing 'Z' is there,
if it's not, the svn:date value was somehow corrupted.

> Sent from my iPhone

Sent on a carved marble slab by carrier roc
http://en.wikipedia.org/wiki/Roc_(mythology)

>
> 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:53:38 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.