std.date proposal

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Mar 29 21:04:32 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John C schrieb am 2006-03-29:
>>> 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...

The article uses a fussy meaning for "D/M/Y" - it includes
"D.M.Y", "D.M.YYYY", "D. M. Y"  and "D/M-Y" and perhaps a few more
that weren't stated in the list explicitly

e.g.: Strictly speaking 01/02/03 isn't considered a date in Germany,
but 01.02.03 and 01.02.2003 are.

The ones rendering the "DD/MM/YY" format totaly unusable are often the US with
"MM/DD/YY". Whenever there is a slight chance that an US entity was
involved: check for non-metric length, weight and odd dates :(

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEK3PU3w+/yD4P9tIRAhngAJ4h+8uER6/PMjDJCCMSVrJwpmMKEwCgryDU
r2zNiYPiCi+iU3Z8zc4ET+c=
=7/AR
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-announce mailing list