Closed DartBot closed 9 years ago
This comment was originally written by chanhd...@gmail.com
Sorry accidentally hit enter.
What steps will reproduce the problem?
What is the expected output? What do you see instead? i suppose to get "d MMM" but getting "d MMMM" instead
What version of the product are you using? intl: any
On what operating system? OS X 10.9.4
Please provide any additional information below. looked at tr.json file MMMd is return d MMMM. Also notice MMMEd is returning d MMMM EEE. Both return 1 extra M than it should be
Comment by alan-knight
What Intl version are you looking at? Looking at the current version (0.11.4) in tr.json I see 'MMM d' : 'd MMM' The CLDR data were updated to version 25 in version 0.10.0.
In the current version I do see MMMEd as you describe. That's what ICU is giving us for a Gregorian calendar in Turkish locale. See http://www.unicode.org/repos/cldr-aux/json/25/main/tr/ca-gregorian.json
We simplify the calendar data by bringing it down to one per locale. There are 18 different calendars listed for 'tr' locale at http://www.unicode.org/repos/cldr-aux/json/25/main/tr/ and we don't want to include the data for all of them.
I suspect you're expecting data more like what's in the generic or islamic-civil calendar files there, where it does use only MMM. It seems odd that Gregorian would use MMMM. It may be a bug in CLDR, and I've asked our internationalization people about that.
Added NeedsInfo label.
This comment was originally written by chanhdi...@gmail.com
Hi, thanks for the responses. Looks like my version is old. I'll update. Yeah It's weird that they use MMMM when i ask for MMM for tr where other languages use the correct thing.
Any way MMMd is what I needed. Thanks again.
Chanh,
Originally opened as dart-lang/sdk#20315
This issue was originally filed by chanhdinh2...@gmail.com
What steps will reproduce the problem? 1. 2. 3.
What is the expected output? What do you see instead?
What version of the product are you using?
On what operating system?
What browser (if applicable)?
Please provide any additional information below.