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

Issue 653411 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Chrome cannot get TimeZone name correctly after changing the TimeZone of computer

Reported by nkphuc...@gmail.com, Oct 6 2016

Issue description

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

Steps to reproduce the problem:
I have a snippet code in javascript as shown below:
$(document).ready(function () {    
    var day1 = new Date();
});
Now I open a browser (in this case I use FireFox) and the current TimeZone of my computer is UTC +10:00 Hobart. Then I view the day1 javascript variable in debug mode, it displays its value as image shown below. 
http://i.stack.imgur.com/C2p09.png

The TimeZone name of UTC+10:00 Hobart is Tasmania Standard Time. FF gets the correct name and as my expected too.

Next, I will chang the TimeZone on my computer to UTC+10:00 Canberra, Melbourne, Sydney while FF browser is being opened. Then I refresh FF browser by pressing Ctrl+F5 and view day1's value in debug mode again.
http://i.stack.imgur.com/1zLDg.png

As you can see, FF updated the new correct TimeZone name as AUS Eastern Standard Time. It worked as my expected too.

MS Edge and IE worked as the same way with FF.

BUT, Chrome worked in the other way.
http://i.stack.imgur.com/kOy2j.png

The new TimeZone name that Chrome returns to me is Local Daylight Time, not AUS Eastern Standard Time as my expected and as the other browsers (FF, MS Edge, IE) did.

Why does not Chrome return "AUS Eastern Standard Time" name?

Is there any way can solve this case for Chrome?

What is the expected behavior?
Chrome should return "AUS Eastern Standard Time" timezone name as FF, IE, MS Edge did

What went wrong?
Chrome did return "Local DayLight Time" timezone name.

Did this work before? N/A 

Chrome version: 53.0.2785.143  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

I also posted a question on #Stackoverflow. 
http://stackoverflow.com/questions/39871076/chrome-cannot-get-timezone-name-correctly-after-changing-the-timezone-of-compute
 

Comment 1 by junov@chromium.org, Oct 6 2016

Components: -Blink Blink>HTML
Not sure which component this issue belongs to. Since date string formatting is defined in the HTML standard, assigning to HTML component for now.

Comment 2 by tkent@chromium.org, Oct 7 2016

Components: -Blink>HTML Blink>JavaScript
Cc: littledan@chromium.org
Components: -Blink>JavaScript Blink>JavaScript>Internationalization
Status: Available (was: Unconfirmed)

Comment 4 by nkphuc...@gmail.com, Oct 11 2016

Any useful information for me, team?
Cc: u...@chromium.org js...@chromium.org yangguo@chromium.org
Could this be related to https://bugs.chromium.org/p/chromium/issues/detail?id=406382 ?
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 17 2017

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. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Project Member

Comment 8 by sheriffbot@chromium.org, Oct 19

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)

Sign in to add a comment