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

Issue 614637 link

Starred by 3 users

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

History does not use user's locale for date and time format

Reported by hypft...@googlemail.com, May 25 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Steps to reproduce the problem:
1. Open the history

What is the expected behavior?
Dates and times in the history should follow the user's preferences.

What went wrong?
Dates and times in the history seem to follow the browser's UI language.

Did this work before? N/A 

Chrome version: 50.0.2661.102  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0
 
Cc: dbeam@chromium.org
Components: -UI UI>Browser>History

Comment 2 by dbeam@chromium.org, May 27 2016

Cc: tsergeant@chromium.org calamity@chromium.org
Hey, what user preferences are you referring to? I can't see any way in the browser settings to change the time format on Windows. Do you mean that it should reflect the system's time format?
It's not the system's but the user's, but yes, it belongs to the OS, not Chrome.
Labels: -Pri-2 Pri-3
Can you give an example of what kind of different time format you're referring to?
On Windows UI language and locale are two different things. You can have your UI in one language and use a different language's conventions for number, date, time formats, as well as currency. The latter is found in Control Panel > Clock, Language and Region > Change date, time or number formats.

In my case I use en-US as my UI language and a custom German locale for number and date formatting where I exchanged the customary German short date format (dd.MM.yyyy) for ISO 8601.

Chrome displays dates in the history as "dddd, MMMM d, yyyy" which is rather distinct from the usual long date format my locale has (dddd, d. MMMM yyyy). Furthermore, times are displayed with am/pm which isn't used either.

Now, I'm used to *websites* not being able to adapt to the user's locale, simply because JavaScript offers no such provision by default. However, the history is part of Chrome and as such can probably do more to fit into the OS.

Comment 7 by dbeam@chromium.org, Jun 2 2016

Chrome's UI is rendered in ... Chrome's UI language, not your web content's locale.

does changing Chrome's UI language to German format dates as you'd expect on the history page?
It displays them in German, if you mean that. But it still ignores my regional settings. I'm not sure what you mean by "web content's locale", but Accept-Language is fairly irrelevant here.

Again, on Windows the language to display the UI in can be different from the locale to format dates, times, and numbers. Heck, even if they are the same the date format can be set to something else, which then is ignored by Chrome.

Comment 9 Deleted

I'm pretty sure that Chrome's UI tries its hardest to match/use your system's locale.
Project Member

Comment 11 by sheriffbot@chromium.org, Aug 7 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

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

Sign in to add a comment