Formatting with month: 'long' looks weird in en-au
Hi.
I have a case where the Intl polyfill is displaying en-au data in a weird way.
const Intl_polyfill = require('intl')
new Intl_polyfill.DateTimeFormat('en-AU', { month: 'long', day: 'numeric', year: 'numeric' }).format(new Date())
displays
20September,2016
This was using the latest release (on Sept. 20th)
Any thoughts? Can anyone else reproduce?
@jjlueck-tock this seems like a problem in CLDR 28, if you look here:
https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/en-AU.json#L72-L73
there are no spaces in the pattern, and that's why Intl.js produces that. I will double check in the latest CLDR, maybe by updating it we fix the issue, otherwise we can report it, and wait for it to be fixed there before we release a new version.
/cc @srl295
Thanks for reproducing and looking into it!
Version 1.2.6 seems to work (I built it locally), but it's not yet release on NPM. Is there a forecast, @caridy @andyearnshaw?
Any news on when next release will be?
Also just encountered this bug and would love a fix!