New issue
Advanced search Search tips

Issue 854201 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Windows time zone : "DST off" is not respected.

Reported by vertigos...@gmail.com, Jun 19 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Steps to reproduce the problem:
1. reset your clock to standard time (back 1 hour)
2. run gethours()
3. there it is

What is the expected behavior?
This javascript function should take the local user time instead of the "accepted" timezone clock.

What went wrong?
The function returns instead the forward clock result (+1 hour)

This used to work fine up until June 13th, 2018.

Did this work before? Yes before Version 67.0.3396.87

Chrome version: 67.0.3396.87  Channel: stable
OS Version: 10.0
Flash Version: 

This works perfectly well on my wife's Firefox
 
Labels: Needs-Bisect Needs-Triage-M67
Components: -Blink Blink>JavaScript>Internationalization

Comment 3 by js...@chromium.org, Jun 20 2018

Labels: -Needs-Bisect -Needs-Triage-M67 Needs-Feedback
Owner: js...@chromium.org
> reset your clock to standard time (back 1 hour)

What do you mean by the above?  What exactly did you do in the Windows control panel?  Did you manually turn off DST?  Why did you do that? 

What time zone did you live in? 


I use EST, NY timezone (Eastern Standard Time; ie: I don't forward my clocks)

Windows 10
 Settings > Date & Time
    Adjust for daylight saving time automatically
        (off)

Yes I did turn off DST manually
Why?
Because it's false.
Project Member

Comment 5 by sheriffbot@chromium.org, Jun 20 2018

Cc: js...@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

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

Comment 6 by js...@chromium.org, Jun 21 2018

Labels: -Pri-2 Pri-3
Status: ExternalDependency (was: Unconfirmed)
Summary: Windows time zone : "DST off" is not respected. (was: gethours() ignores user standard time clock)
> I use EST, NY timezone (Eastern Standard Time; ie: I don't forward my clocks)

That's unsupported. You're not using US/Canada Eastern time (America/New_York). You have to pick Etc/GMT+5 (5 hours behind GMT. the sign convention is the opposite in the time zone identifier) instead or its equivalent. 

You can do that on Windows by selecting one of zones listed at

https://en.wikipedia.org/wiki/UTC%E2%88%9205:00#North_America_3  

On Windows, one of those zones you can select is Bogota,Lima. 

What you really need to select is UTC -0500 zone (Etc/GMT+5; the sign convention is the opposite in the time zone identifier), but at least on Windows, you cannot select UTC -0500 (5 hours behind UTC year-round). So, you have to go with 'Bogota,Lima'. 

In the meantime, I filed http://bugs.icu-project.org/trac/ticket/13845 . 

Thank you for the effort. This last year has been atrocious vis-a-vis Chromium. I think I'll switch to Edge.

Comment 8 by js...@chromium.org, Jun 23 2018

> Yes I did turn off DST manually
> Why?
> Because it's false.

Would you mind telling me where you live? Are you in Indiana or somewhere else? 

https://stackoverflow.com/questions/25273281/is-dst-enabled  shows how to detect whether a user turned off 'Automatically adjusts for DST'.  

I'll add more comment to the ICU bug referred to in comment 6.
https://unicode-org.atlassian.net/browse/ICU-13845  : this is a new URL for the ICU bug reported for this bug. 
Cc: swarnasree.mukkala@chromium.org
 Issue 865022  has been merged into this issue.
Labels: -Pri-3 M-71 Pri-2
Upstream bug (https://unicode-org.atlassian.net/browse/ICU-13845 ) may or may not have been fixed. I'll find out. 


Sign in to add a comment