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

Issue 1557053002: Accept time zones like GMT-8 in the legacy date parser (Closed)

Created:
4 years, 11 months ago by Dan Ehrenberg
Modified:
4 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Accept time zones like GMT-8 in the legacy date parser In the Date constructor or Date.parse, other browsers will accept time zones like GMT-8, but before this patch, Chrome would interpret 8 as 8 minutes. This patch interprets GMT-+ a one or two digit number as hours, not minutes. R=adamk,jshin@chromium.org LOG=Y BUG=chromium:422858 Committed: https://crrev.com/acbd64be36dec5a65d09106399b446b7c779adea Cr-Commit-Position: refs/heads/master@{#33100}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Test hours #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -2 lines) Patch
M src/dateparser-inl.h View 1 chunk +14 lines, -2 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-422858.js View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557053002/1
4 years, 11 months ago (2016-01-04 19:10:17 UTC) #2
Dan Ehrenberg
4 years, 11 months ago (2016-01-04 19:15:24 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-04 19:29:22 UTC) #6
jungshik at Google
Thanks. LGTM https://codereview.chromium.org/1557053002/diff/1/test/mjsunit/regress/regress-crbug-422858.js File test/mjsunit/regress/regress-crbug-422858.js (right): https://codereview.chromium.org/1557053002/diff/1/test/mjsunit/regress/regress-crbug-422858.js#newcode6 test/mjsunit/regress/regress-crbug-422858.js:6: assertEquals(0, date.getMinutes()); Would it be a good ...
4 years, 11 months ago (2016-01-04 20:05:08 UTC) #7
adamk
lgtm
4 years, 11 months ago (2016-01-04 20:56:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557053002/20001
4 years, 11 months ago (2016-01-04 23:03:49 UTC) #11
Dan Ehrenberg
https://codereview.chromium.org/1557053002/diff/1/test/mjsunit/regress/regress-crbug-422858.js File test/mjsunit/regress/regress-crbug-422858.js (right): https://codereview.chromium.org/1557053002/diff/1/test/mjsunit/regress/regress-crbug-422858.js#newcode6 test/mjsunit/regress/regress-crbug-422858.js:6: assertEquals(0, date.getMinutes()); On 2016/01/04 at 20:05:08, jshin (out until ...
4 years, 11 months ago (2016-01-04 23:03:53 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-04 23:25:31 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 23:26:04 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/acbd64be36dec5a65d09106399b446b7c779adea
Cr-Commit-Position: refs/heads/master@{#33100}

Powered by Google App Engine
This is Rietveld 408576698