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

Re: <date> tag: format and timezone

From: <kfogel_at_collab.net>
Date: 2003-05-22 21:45:13 CEST

Branko Čibej <brane@xbc.nu> writes:
> >1. I am not sure what mean the numbers after the 42 seconds...
> ><date>2003-04-30T10:01:42.349105Z</date>
> Numbers after a decimal point are usually called a "fraction". In this
> case, since there are six numbers, they indicate millionths of a second,
> also called "microseconds".

I think it was the "Z" that threw him off.

Nonetheless, I laughed out loud at your response :-).

> >2. Do I always get back the UTC time in the <date> tag?
> The time zone indicator is part of the time format, so you can determine
> the UTC offset by parsing the timestamp.

If that's the case, which portion of the above timestamp indicates the
time zone? I think the "Z" indicates UTC? (Had this been 'svn log'
instead of 'svn log --xml', *then* the timestamp would clearly
indicate an offset from UTC. Excuse me, I mean Greenwich Mean Time.)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 22 22:27:15 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.