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

Re: Date processing should be more flexible

From: Marcus Rohrmoser <mrohrmoser_at_gmx-gmbh.de>
Date: 2005-07-04 10:28:03 CEST

Being generous about date formats quickly can increase the confusion, don't you think?

What's meant with 2005/05/07 - July 5th or May 7th? Does it depend on the current locale? I'd rather
like thinks strict but simple and reliable.


Ben Collins-Sussman schrieb:
> On Jul 2, 2005, at 9:24 AM, Alex Barba wrote:
>> CVS has a very flexible date parser. I'd like svn to get some of that
>> flexibility as well.
> Yup, it's funny, Subversion used to use CVS's date parser (the same
> bison file), so in the early days you could type something like 'svn
> update -r {"two weeks ago"}'. But just before 1.0, we decided it would
> be a nightmare to support, so quickly wrote our own date-parser with a
> very limited set of formats.
> Still, I agree, we should be able to parse "2005-7-5" as if it were
> "2000-07-05". And it would be nice to use "2005/07/05" as well.

Received on Mon Jul 4 10:31:10 2005

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.