[whatwg] internationalization/localization
Matthew Raymond
mattraymond at earthlink.net
Tue Jul 13 05:34:27 PDT 2004
Ian Hickson wrote:
> On Thu, 8 Jul 2004, fantasai wrote:
>>Could you please explain what you mean by "localisation of data formats"?
>
> Making:
>
> <p>The boat trip will be on 04/12/05.</p>
>
> ...render the date in the user's locale.
I realize this is just an example, but how about the following solution?
<p>The boat trip will be on <date>2005-04-12</date>.</p>
The contents of <date> would be in ISO 8601. If the browser doesn't
recognize <date>, it will simply be ignored and the ISO 8601 date will
be displayed. UAs that support <date> could implement it in such a way
that Outlook, Sunbird or some other calendar program would open when the
date is clicked. (Could go even further with this, but I'd like to see
how the suggestion is received in its current form.)
More information about the whatwg
mailing list