New issue
Advanced search Search tips

Issue 867806 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 849404
Owner:
Closed: Jul 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Timezone reported as GMT+0918

Reported by plummer....@gmail.com, Jul 26

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36

Steps to reproduce the problem:
1. In OSX with timezone set to Asia/Tokyo. 
2. Open Chrome console
3. Enter `new Date(-62115206400000)`

What is the expected behavior?
Time zone should be GMT+0900 (Japan Standard Time)

What went wrong?
Time zone is GMT+0918 (Japan Standard Time)

Did this work before? N/A 

Chrome version: 67.0.3396.99  Channel: stable
OS Version: OS X 10.13.6
Flash Version: 

Checked on FF and Safari, which are not exhibiting this behavior.
 
I have a similar issue where Chrome doesn't reflect the local system timezone when fetching it with Date() - Version 67.0.3396.99
Labels: Needs-Triage-M67
Labels: -Type-Bug -Pri-2 hasbisect-per-revision Triaged-ET RegressedIn-67 Target-69 Target-70 M-70 Target-68 FoundIn-70 FoundIn-69 FoundIn-68 OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Owner: js...@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Windows 10, mac 10.13.3 and Ubuntu 17.10 using chrome reported version #67.0.3396.99 and latest canary #70.0.3503.0.

Bisect Information:
=====================
Good build: 67.0.3389.0
Bad Build : 67.0.3390.0

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/f42b19bde0ce6e2d52fadc34a19b005dc236c2b8..7bed949c66408be72fa74397b34ddb0835b12df9

V-8 Autoroll change log:
https://chromium.googlesource.com/v8/v8/+log/77df816c..7e9556c8

From the above change log suspecting below change
Reviewed-on: https://chromium-review.googlesource.com/572148

jshin@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Thanks...!!
Components: -Blink Blink>JavaScript>Internationalization
Labels: -Target-68 -Target-69 -Target-70 -M-70 OS-Android OS-Chrome OS-Fuchsia
Mergedinto: 849404
Status: Duplicate (was: Assigned)
Back then, Asia/Tokyo was GMT+0918. 

BTW, why do you care about that old time?  
I'm not critically depending on old times or anything. In the course of testing out the edges of date parsing I noticed this strange behavior which isn't in line with other modern engines so I thought I'd report it. It may represent an underlying bug that may affect others (I don't know how far back it starts).

Of course there were no timezones back then so the reporting of the timezone shouldn't be expected, however this runs a bit deeper than that as the actual minutes are incorrect, so it seems worth looking into.


Sign in to add a comment