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 <ftang@chromium.org>
    Reviewed-by: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70553}

Refs: ae7bfb3f03

PR-URL: https://github.com/nodejs/node/pull/39051
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Michaël Zasso 2021-07-20 09:17:39 +02:00 committed by Richard Lau
parent 5039f21396
commit 4efefe02a8
No known key found for this signature in database
GPG Key ID: C43CEC45C17AB93C
2 changed files with 6 additions and 4 deletions

View File

@ -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 #####

View File

@ -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.