From c5c1532c13fb6f18b1f611269a8f2dd02f1ebab8 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Mon, 9 Sep 2024 11:59:25 -0700 Subject: [PATCH] Temporal: Adjust era code of Japanese pre-Meiji era As of the current state of the Intl Era and Month Codes proposal, https://tc39.es/proposal-intl-era-monthcode/#sec-temporal-canonicalizeeraincalendar the canonical name of this era is "japanese". See: https://github.com/tc39/proposal-temporal/issues/2901 --- test/staging/Intl402/Temporal/old/japanese-before-era.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/staging/Intl402/Temporal/old/japanese-before-era.js b/test/staging/Intl402/Temporal/old/japanese-before-era.js index c0bf973fc1..97aa7f874b 100644 --- a/test/staging/Intl402/Temporal/old/japanese-before-era.js +++ b/test/staging/Intl402/Temporal/old/japanese-before-era.js @@ -59,5 +59,5 @@ date = Temporal.PlainDate.from({ calendar: "japanese" }); assert.sameValue(`${ date }`, "1868-01-01[u-ca=japanese]"); -assert.sameValue(date.era, "ce"); +assert.sameValue(date.era, "japanese"); assert.sameValue(date.eraYear, 1868);