History does not use user's locale for date and time format
Reported by
hypft...@googlemail.com,
May 25 2016
|
||||
Issue descriptionUserAgent: 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
,
May 27 2016
,
May 30 2016
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?
,
May 31 2016
It's not the system's but the user's, but yes, it belongs to the OS, not Chrome.
,
Jun 2 2016
Can you give an example of what kind of different time format you're referring to?
,
Jun 2 2016
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.
,
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?
,
Jun 2 2016
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.
,
Jun 2 2016
I'm pretty sure that Chrome's UI tries its hardest to match/use your system's locale.
,
Aug 7 2017
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 |
||||
Comment 1 by msramek@chromium.org
, May 27 2016Components: -UI UI>Browser>History