[whatwg] Client side value for language preference
Henri Sivonen
hsivonen at iki.fi
Fri Mar 30 07:22:11 PDT 2012
On Fri, Mar 30, 2012 at 5:08 PM, Matthew Nuzum <newz at bearfruit.org> wrote:
> For example, maybe a site can't afford translation but a small library
> could be included that formats dates and numbers based on a user's
> language preference. No more wondering if 2/3/12 is in March or in
> February.
The reader doesn't know that the site tries to be smart about dates
(but not smart enough to just use ISO dates), so scrambling the order
of date components not to match the convention of the language of the
page is probably worse than using the convention that's congruent with
the language of the page.
--
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
More information about the whatwg
mailing list