Re: API to get locale date format

Hi Behrang,

Would you mind weighing in on this bug:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16965 ?

Also, the WHATWG is looking at related bugs that you might want to watch, too:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17859
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22679

HTH,
Silvia.


On Tue, Jan 28, 2014 at 2:27 PM, Behrang Saeedzadeh <behrangsa@gmail.com> wrote:
> Hi,
>
> AFAIK, at the moment there's no standard way to get the system locale date
> format. There are some hacks that can be used to infer it, but, well, they
> are just hacks.
>
> As it is not possible to change the representation format of date, time,
> etc. input types [1], at least the system locale's date format should
> somehow be exposed via an API.
>
> [1]: Ideally, not only the locale's date (and other value/unit) format
> should be exposed via an API, but the representation format of date, time,
> etc. fields should be customizable via API/attributes.
>
> Best regards,
> Behrang Saeedzadeh

Received on Sunday, 16 February 2014 02:30:59 UTC