[Top][All Lists]

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

Re: patch: date formats

From: Larry Jones
Subject: Re: patch: date formats
Date: Fri, 16 May 2003 14:41:30 -0400 (EDT)

Martin Renold writes:
> This patch makes cvs understand dates like "DD.MM.YYYY" (the one we learn
> in school here), and additionally "two days ago" (instead of 
> "2 days ago").

Please just get used to using the ISO date and time format (YYYY-MM-DD
HH:MM:SS TZ) instead.  That's what I do, and I'm even an arrogant
American!  Imagine the chaos that would result if everyone insisted on
adding their favorite date format.  There's already at least one
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.

> 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).

-Larry Jones

Somebody's always running my life.  I never get to do what I want to do.
-- Calvin

reply via email to

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