Re: mozIntl.DateTimeFormat

2017-04-10 Thread zbraniecki
On Sunday, April 9, 2017 at 9:50:49 PM UTC-7, gsqu...@mozilla.com wrote: > How is the browser UI locale set/chosen? If based on OS locale settings, > great! It's currently based on the selection of pref called "general.useragent.locale" negotiated against resources available in ChromeRegistry.

Re: mozIntl.DateTimeFormat

2017-04-09 Thread gsquelart
On Friday, April 7, 2017 at 11:22:17 AM UTC+12, zbran...@mozilla.com wrote: > Hi all, > > We completed the transition of the Intl handling from using OS locale, to use > browser UI locale. > > We have a new API called mozIntl.DateTimeFormat which should be the primary &g

mozIntl.DateTimeFormat

2017-04-06 Thread zbraniecki
Hi all, We completed the transition of the Intl handling from using OS locale, to use browser UI locale. We have a new API called mozIntl.DateTimeFormat which should be the primary way we format date and time in our chrome. You can think of it as a regular ECMA402 DateTimeFormat on steroids