std.date proposal
John C
johnch_atms at hotmail.com
Wed Mar 29 09:29:35 PST 2006
>> If you must support a common date format, it should be D/M/Y, which is
>> used
>> by the vast majority of countries and accepted internationally.
>> http://en.wikipedia.org/wiki/Calendar_date
>
> Accepted internationally?
According to the linked article. But I should have used quotation marks...
>
> So, what date is: 01/02/03
>
> 1) in an Arab context
> 2) in an American context
> 3) in a British context
> 4) in an CJK context
> 5) in a Frensh context
> 6) in a German context
> 7) in an Israeli context
Ah, a trap. I could say for most of them it's 1 February 2003, but you can't
rely on that being so. Really, it's for a good locale library to answer.
More information about the Digitalmars-d-announce
mailing list