Bennett Todd wrote:

But I
think everybody agrees that 2006-01-09 is sometime about now, while
they would disagree whether the oddball formats are around now or in
September.

Hmm. The other revision control system I have most convenient to
hand (RCS) seems to call this 2006/01/09, so even though it's not
using the ISO-8601 / RFC 3339 standard separator, it at least gets
the order right.

-Bennett

Some more info on date formats and parsing:

   http://smokey.rhs.com/web/blog/rhs.nsf/stories/UpdateReNotesDateTime

together with the article that it updates:

http://smokey.rhs.com/web/blog/rhs.nsf/stories/NotesDateTimeAndInternationalFormats

(I found those by googling for "yyyy-dd-mm" :-) It's about parsing dates from RSS feeds, which seem to have all kinds of formats, so his tips could be useful here. Let me quote the footnote of the update article:

"(Now, watch. Somewhere in the world, there's probably a small group of people who do in fact use YYYY/DD/MM, and I'll hear about it in the comments, won't I. I've had twenty plus years of experience in the software biz, including several years as a software localization specialist, and I've read countless articles and manuals covering international date and time formats (amongst many other things), and I've /never/ heard of anyone who uses YYYY/DD/MM format, but now that I've published an article, someone somewhere is going to have been offended by it..)"

But it seems nobody added a comment to this article saying s/he used YYYY/DD/MM format...

So my suggestion would be: at least *allow* date to start with a four-digit year, and then interpret the next two parts as month then day.

Groetjes,
<><
Marnix

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to