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

Re: svn log --xml timestamp discrepancy issue

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 29 Jan 2013 11:51:26 -0500

On Tue, Jan 29, 2013 at 11:46 AM, gharmon1977 <
gabriel.harmon_at_deltadentalva.com> wrote:

> When executing the following commands, I receive 2 different outputs
> regarding timestamps:
>
> svn log --xml -v --revision {"20130128"}:{"20130129"}
> URL/svn/repository/%SVNDir%
> OUTPUT:
>
> /<logentry
> revision="55913">
> <author>DevName</author>
> <date>*2013-01-29T02:31:38.558152Z*</date>
> /
>
>
>
> svn log -v --revision {"20130128"}:{"20130129"} URL/svn/repository/%SVNDir%
> OUTPUT:
>
> /r55913 | DevName | *2013-01-28 21:31:38*/
>
>
> Timestamp discrepancy ... How's that possible? Anyone else seen this? The
> --xml arg displays incorrect timestamp.
>
> Current work around, execute svn log and script creation of xml file based
> on the output of the svn log.
>
>
The XML output gives the UTC time (note the trailing Z). svn log is giving
your local time. Is your current timezone UTC -5:00?
Received on 2013-01-29 17:52:41 CET

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

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