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

Re: Date format in XML output?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-10-08 13:58:41 CEST

On 10/6/07, Joachim Durchholz <jo@durchholz.org> wrote:
> Hi all,
>
> I'm trying to interpret the output of
>
> svn --xml info <directory>
>
> specifically the text inside the <date>...</date> tags.
>
> I have seen output like
>
> 2007-09-25T10:15:35.599185Z

Yes, that's UTC (the 'Z' indicates that). While some parts of the
system may output other date formats, the date format in svn log --xml
uses the same format (and UTC offset [0/nul]) for every entry.

> which seems to be UTC, but I'm not sure.

> Questions:
> * What variations are possible for the date format?

For 'svn log --xml'? Only 1.

> * In general, where's the DTD for the XML?

There's no DTD distributed with the installer, I think, but the schema
can be found here:
http://svn.collab.net/repos/svn/trunk/subversion/svn/schema/ (They're
encoded in RNC format.)

> I can work without it, but
> having a DTD as a reference would be handy.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 8 14:03:04 2007

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.