New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 756031 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug


Participants' hotlists:
Hotlist-1


Sign in to add a comment

Intl.DateTimeFormat returns wrong month name for "kk" locale

Reported by m...@bookmate.com, Aug 16 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36

Steps to reproduce the problem:
new Intl.DateTimeFormat('kk', { day: 'numeric', month: 'long' }).format(Date.now())

What is the expected behavior?
The code returns "M08 16" which is an incorrectly formatted date.

What went wrong?
The code returns "16 тамыз" (the correct formatted date for today).

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 60.0.3112.101  Channel: stable
OS Version: OS X 10.12.5
Flash Version:
 

Comment 1 by m...@bookmate.com, Aug 16 2017

Oops, "expected" and "went wrong" is messed up. Should be otherwise.
Labels: Needs-Triage-M60
Cc: brajkumar@chromium.org
Components: Blink>JavaScript
Labels: Needs-Feedback
Unable to reproduce this issue on Mac OS 10.12.6 using chrome latest stable #60.0.3112.101. By entering "new Intl.DateTimeFormat('kk', { day: 'numeric', month: 'long' }).format(Date.now())" in console it displays M08 17 as expected.

Reporter@ My current system locale is EN. Could you please confirm your default system locale for further investigation?

Thanks!

Comment 4 by panya...@gmail.com, Aug 17 2017

I messed up the messages in "went wrong" and "expected" fields, sorry. The code "new Intl.DateTimeFormat('kk', { day: 'numeric', month: 'long' }).format(Date.now())" should return "17 тамыз" today, not "M08 17". And it returns this string in Safari, Fx and Edge, but not in Chrome.

Comment 5 by panya...@gmail.com, Aug 17 2017

My system locale in EN.
Components: -Blink>JavaScript Blink>JavaScript>Internationalization
Status: Available (was: Unconfirmed)
Project Member

Comment 7 by sheriffbot@chromium.org, Aug 28

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
I can still repro this in M68. 

Jungshik -- is this because of missing locale data?

Sign in to add a comment