Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Issue 2648603002: [builtins] Apply ES2016 conditional default timezone semantics (Closed)

Created:
3 years, 11 months ago by Dan Ehrenberg
Modified:
3 years, 10 months ago
Reviewers:
ulan, adamk
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] Apply ES2016 conditional default timezone semantics ES2016 changed the default timezone of dates to be conditional on whether a time is included. The semantics were a compromise approach based on web compatibility feedback from V8, but until now, we have been shipping ES5.1 default timezone semantics. This patch implements the new semantics, following ChakraCore and SpiderMonkey (though JSC implements V8's previous semantics). BUG=chromium:589858 Review-Url: https://codereview.chromium.org/2648603002 Cr-Commit-Position: refs/heads/master@{#43239} Committed: https://chromium.googlesource.com/v8/v8/+/d31c5410c4fdfc5eb66582892d5e3ecd3706bd58

Patch Set 1 #

Patch Set 2 : Fixing up tests #

Patch Set 3 : Remove unrelated test #

Total comments: 1

Patch Set 4 : Clean up tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -59 lines) Patch
M src/dateparser-inl.h View 1 chunk +7 lines, -2 lines 0 comments Download
M test/mjsunit/date.js View 1 2 1 chunk +56 lines, -54 lines 0 comments Download
M test/mjsunit/date-parse.js View 1 2 3 3 chunks +29 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Dan Ehrenberg
What do you think? This patch has some compat risk; should it be developed behind ...
3 years, 10 months ago (2017-02-15 12:07:40 UTC) #4
adamk
Do you know whether the ChakraCore and SpiderMonkey semantics have been in shipping versions of ...
3 years, 10 months ago (2017-02-15 19:12:44 UTC) #5
Dan Ehrenberg
On 2017/02/15 19:12:44, adamk wrote: > Do you know whether the ChakraCore and SpiderMonkey semantics ...
3 years, 10 months ago (2017-02-15 19:45:36 UTC) #6
adamk
Edge 13 has the same behavior as Firefox 51. This lgtm (though I'd be interested ...
3 years, 10 months ago (2017-02-15 21:29:34 UTC) #7
ulan
Note that the last time we changed this, Firefox and IE were already supporting the ...
3 years, 10 months ago (2017-02-15 21:35:04 UTC) #8
Dan Ehrenberg
On 2017/02/15 21:35:04, ulan wrote: > Note that the last time we changed this, Firefox ...
3 years, 10 months ago (2017-02-15 22:22:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2648603002/60001
3 years, 10 months ago (2017-02-16 09:35:25 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 10:02:07 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/d31c5410c4fdfc5eb66582892d5e3ecd370...

Powered by Google App Engine
This is Rietveld 408576698