New issue
Advanced search Search tips

Issue 608261 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

In Google Chrome creepy way confuse locale settings for inputs with type datetime-local, date and time.

Reported by mikhail....@gmail.com, May 2 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2716.0 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. 
2. 
3. 

What is the expected behavior?

What went wrong?
In Google Chrome creepy way confuse locale settings for inputs with type datetime-local, date and time.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? N/A 

Chrome version: 52.0.2716.0  Channel: dev
OS Version: Fedora 24
Flash Version: Shockwave Flash 21.0 r0
 
Screenshot from 2016-05-02 10-47-41.png
159 KB View Download
Screenshot from 2016-05-02 10-06-46.png
326 KB View Download
Components: -Blink Blink>Forms

Comment 2 by tkent@chromium.org, May 4 2016

Labels: Needs-Feedback
What's your Chrome UI languages on each of Fedora and Windows?
These input types use locales of Chrome UI language, not system locale.

How find this setting?

UI_language.png
113 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, May 4 2016

Labels: -Needs-Feedback Needs-Review
Owner: tkent@chromium.org
Thank you for providing more feedback. Adding requester "tkent@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by tkent@chromium.org, May 5 2016

Labels: -Needs-Review Needs-Feedback
1. Right click on any page, then select "Inspect"
2. In the DevTools window, choose "Console" tab
3. In the Console, type the following then Enter
    navigator.language
It should show language code such as "en-US", "ru", etc.

On Windows 10:
navigator.language
"ru"

On Linux:
navigator.language
"en-US"

But why if on both systems system language is English.
On Windows 10 format set US English
On Linux Fedora format sets Russian
Always expected that inputs formats in  browser will be same as in OS.

Comment 7 by tkent@chromium.org, May 9 2016

Labels: -Needs-Feedback
Status: WontFix (was: Unconfirmed)
Thank you for the information.

So, this works as intended.  Our current rule is that date/time input types respect to browser UI locale.
We have a plan to change the behavior so that input types respect to page locale (Issue 141169).  So we won't have a behavior you want.

Please wait, how users can change browser UI locale? If I want that everywhere was "ru" or "en-US" locale
I'm afraid that bind regional setting to interface language is not correct. For example, I prefer the English language interface (it's easier to write bug reports), but I need the russian regional settings (number format, date format and time format).

Comment 10 by tkent@chromium.org, Jan 26 2017

 Issue 685200  has been merged into this issue.

Sign in to add a comment