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.
Greetings,
M
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