From 697f978ba4ffa0918df45305d8e38f3e99625b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 20 Jul 2021 09:17:39 +0200 Subject: [PATCH] deps: V8: backport ae7bfb3f03b3 Original commit message: Change test expectation per tz2020b https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html Revised predictions for Morocco's changes starting in 2023. Canada's Yukon changes to -07 on 2020-11-01, not 2020-03-08. Macquarie Island has stayed in sync with Tasmania since 2011. Casey, Antarctica is at +08 in winter and +11 in summer. zic no longer supports -y, nor the TYPE field of Rules. Bug: chromium:1137864, chromium:1138117 Change-Id: I6076a993fcd755074ddcfa5321b78aa5f043337b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2476681 Commit-Queue: Frank Tang Reviewed-by: Michael Achenbach Cr-Commit-Position: refs/heads/master@{#70553} Refs: https://github.com/v8/v8/commit/ae7bfb3f03b30a8a9a299feeaba92dd6f17e084c PR-URL: https://github.com/nodejs/node/pull/39051 Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- common.gypi | 2 +- deps/v8/test/intl/regress-1074578.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common.gypi b/common.gypi index a8b38b25678171..fda54611734358 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.75', + 'v8_embedder_string': '-node.76', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/test/intl/regress-1074578.js b/deps/v8/test/intl/regress-1074578.js index c8fa56e8a27b1c..3240b97545a30c 100644 --- a/deps/v8/test/intl/regress-1074578.js +++ b/deps/v8/test/intl/regress-1074578.js @@ -30,10 +30,12 @@ const df2 = new Intl.DateTimeFormat( const d3 = new Date("2020-03-09T00:00Z"); const d4 = new Date("2021-03-09T00:00Z"); -// Before tz202a change will get "March 8, 2020 at 5:00:00 PM PDT" -assertEquals("March 8, 2020 at 5:00:00 PM MST", df2.format(d3)); +// Before tz2020a change will get "March 8, 2020 at 5:00:00 PM PDT" +// In tz2020a it should be "March 8, 2020 at 5:00:00 PM MST" +// but tz2020b roll this back. +assertEquals("March 8, 2020 at 5:00:00 PM PDT", df2.format(d3)); -// Before tz202a change will get "March 8, 2021 at 4:00:00 PM PST" +// Before tz2020a change will get "March 8, 2021 at 4:00:00 PM PST" assertEquals("March 8, 2021 at 5:00:00 PM MST", df2.format(d4)); // C. Test America/Nuuk renamed from America/Godthab.