Re: patch: date formats

[email protected] (Larry Jones)
Newsgroups gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.