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

Re: [PATCH]: Re: Date processing should be more flexible

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2005-07-06 12:52:23 CEST

2005/7/6, Christopher Ness <chris@nesser.org>:
> No, not yet. This patch adds the ability to accept -r{2005-7-1}
> I didn't read up on the date ISO standard but would assume this is a
> valid ISO date without the leading zeros.

Actually, it is not. The ISO standard relies on the number of digits,
however, the number of components can change:

2005-03-05: March 5, 2005
2005-03: March 2005
2005-003: January 3, 2005 (day #3 of 2005)
2005-W03 Week #3 in 2005

The dash is optional, so 2005-03-05=20050305, 2005-03=200503,
2005003=2005003 and 2005-W03=2005W03.

See also: http://www.cl.cam.ac.uk/~mgk25/iso-time.html


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 6 12:53:23 2005

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.