Comment #11 on issue 4242 by [email protected]: new Date uses the wrong timezone
https://code.google.com/p/v8/issues/detail?id=4242#c11

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/f06754a8e1d305a43560705f6c167d85d40e602d

commit f06754a8e1d305a43560705f6c167d85d40e602d
Author: hichris123 <[email protected]>
Date: Fri Jul 24 17:19:33 2015

Make dates default to the local timezone if none specified

In ES5, dates were supposed to default to UTC if no timezone was specified. However, this changed in ES6, which specified that dates should be in the local timezone if no timezone was specified. This CL updates our behavior to match that part of the ES6 spec.

BUG=chromium:391730, v8:4242
LOG=Y

Review URL: https://codereview.chromium.org/1229903004

Cr-Commit-Position: refs/heads/master@{#29854}

[modify] http://crrev.com/f06754a8e1d305a43560705f6c167d85d40e602d/src/dateparser-inl.h [modify] http://crrev.com/f06754a8e1d305a43560705f6c167d85d40e602d/src/dateparser.h [modify] http://crrev.com/f06754a8e1d305a43560705f6c167d85d40e602d/test/mjsunit/date-parse.js [modify] http://crrev.com/f06754a8e1d305a43560705f6c167d85d40e602d/test/mjsunit/date.js [modify] http://crrev.com/f06754a8e1d305a43560705f6c167d85d40e602d/test/test262-es6/test262-es6.status [modify] http://crrev.com/f06754a8e1d305a43560705f6c167d85d40e602d/test/test262/test262.status


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to