bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch: date formats


From: Martin Renold
Subject: Re: patch: date formats
Date: Fri, 16 May 2003 21:42:52 +0200
User-agent: Mutt/1.3.28i

On Fri, May 16, 2003 at 02:41:30PM -0400, Larry Jones wrote:
> Please just get used to using the ISO date and time format (YYYY-MM-DD
> HH:MM:SS TZ) instead.

Hm, OK.

> ambiguity since you can't distinguish between the American MM/DD/YY and
> the European DD/MM/YY when 01 <= DD <= 12, adding more formats just
> makes matters worse.

I've not yet heard of DD/MM/YY (ah seems to be british)... we use (in
Switzerland, and in Germany too), as said, DD.MM.YY

OK, I've found a webpage saying that YY.MM.DD is the ANSI format, so the
confusion is complete.

> > By the way, "15.5.03" will not work as expected, it's a y2k issue. The
> > best way would be to interprete two digit years between CURRENTYEAR - 49
> > and CURRENTYEAR + 50, but, well...
> 
> Did you actually try it?  The Convert() function handles two digit years
> as per the Posix specification (0-69 => 20xx, 70-99 => 19xx).

Ups! You're right, I just looked at the comment (which is outdated by
definition), and read #define TM_YEAR_ORIGIN 1900 somewhere...

Thanks anyway,
Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]