New issue
Advanced search Search tips

Issue 857463 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Date.getTimezoneOffset gets incompatible offset

Reported by johannes...@googlemail.com, Jun 28 2018

Issue description

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

Steps to reproduce the problem:
1. open in chrome https://jsfiddle.net/fooloomanzii/7ecust20/9/
2. open in firefox
3. compare console output

What is the expected behavior?
It should be:

d1:  Sun Jan 31 -001 19:00:00 GMT-0500 (Eastern Normalzeit) 300
d2:  Thu Jan 31 1850 19:00:00 GMT-0500 (Eastern Normalzeit) 300
d3:  Thu Jan 31 1980 19:00:00 GMT-0500 (Eastern Normalzeit) 300

or equivalent to the set timezone.

What went wrong?
The timezone is set wrongly for date below certain dates. The behaviour differs also according to the system timezone (see attachment).

Did this work before? Yes 66.0.3359.170 (Chromium)

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 30.0 r0
 
timezone_mez.PNG
9.2 KB View Download
timezone_etz.PNG
11.1 KB View Download
timezone_timezoneOffset.PNG
3.1 KB View Download
Labels: Needs-Bisect Needs-Triage-M67
Cc: js...@chromium.org
Labels: Triaged-ET
This issue seems to be similar to 851804. 

@jshin Could you please confirm whether we can merge this issue with 851804.

Thanks !
Components: -Blink Blink>JavaScript>Internationalization
Labels: Needs-Feedback
Adding NeedsFeedback label and requesting @jshin for confirmaton as per comment#2..

Thanks !

Sign in to add a comment