[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: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-07-04 12:39:47 CEST

On Monday 04 July 2005 13:23, Martin A. Brooks wrote:

> The best date format, imo, is YYYYMMDD.  i.e. today is 20040704.  

Oh no, please! This is completely human-unreadable. Some separators are needed
for readability, and to distinguish dates from just numbers.

Dashes (2005-07-04) are close to ideal: no confusion, standard (ISO), already
widely in use.

Dots could be used as well (2005.07.04) but these are not ISO.

Slashes have contradictory meanings (even if we spell out a year in full --
what is 02/03/2005? ;), so they are not good.

If svn accepts 20040704 as a shortcut, nobody will probably object, I would be
very upset if this were the only format svn understands (in the same way I am
upset with Unix 'date'...)

> When
> used as a file prefix it has the advantage of automagically sorting your
> files by date.

Format with dashes has the same property.

>
> E0.02

-- 
Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Mon Jul 4 12:35:21 2005

This is an archived mail posted to the Subversion Users mailing list.