From a1f905d44072ec5ee9d580ebff1d5a8b3e9a835e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Thu, 27 Nov 2025 09:42:47 +0100 Subject: [PATCH] Update old Temporal tests for CLDR 48 CLDR 48 changed some era names, update the tests accordingly. --- .../Intl402/Temporal/old/non-iso-calendars-coptic.js | 6 +++--- .../Intl402/Temporal/old/non-iso-calendars-ethioaa.js | 4 ++-- .../Intl402/Temporal/old/non-iso-calendars-ethiopic.js | 2 +- .../Intl402/Temporal/old/non-iso-calendars-indian.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/staging/Intl402/Temporal/old/non-iso-calendars-coptic.js b/test/staging/Intl402/Temporal/old/non-iso-calendars-coptic.js index 845f105560..6b729de4b7 100644 --- a/test/staging/Intl402/Temporal/old/non-iso-calendars-coptic.js +++ b/test/staging/Intl402/Temporal/old/non-iso-calendars-coptic.js @@ -26,14 +26,14 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) { compareFormatToPartsSnapshot("2000-01-01T00:00Z", { year: 1716, - era: "ERA1", + era: "AM", month: 4, day: 22, }); compareFormatToPartsSnapshot("0001-01-01T00:00Z", { - year: 284, - era: "ERA0", + year: -283, + era: "AM", month: 5, day: 8, }); diff --git a/test/staging/Intl402/Temporal/old/non-iso-calendars-ethioaa.js b/test/staging/Intl402/Temporal/old/non-iso-calendars-ethioaa.js index 0f8cfed158..cc460c70dd 100644 --- a/test/staging/Intl402/Temporal/old/non-iso-calendars-ethioaa.js +++ b/test/staging/Intl402/Temporal/old/non-iso-calendars-ethioaa.js @@ -26,14 +26,14 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) { compareFormatToPartsSnapshot("2000-01-01T00:00Z", { year: 7492, - era: "ERA0", + era: "AA", month: 4, day: 22, }); compareFormatToPartsSnapshot("0001-01-01T00:00Z", { year: 5493, - era: "ERA0", + era: "AA", month: 5, day: 8, }); diff --git a/test/staging/Intl402/Temporal/old/non-iso-calendars-ethiopic.js b/test/staging/Intl402/Temporal/old/non-iso-calendars-ethiopic.js index 391ab0030f..5808006031 100644 --- a/test/staging/Intl402/Temporal/old/non-iso-calendars-ethiopic.js +++ b/test/staging/Intl402/Temporal/old/non-iso-calendars-ethiopic.js @@ -26,7 +26,7 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) { compareFormatToPartsSnapshot("2000-01-01T00:00Z", { year: 1992, - era: "ERA1", + era: "AM", month: 4, day: 22, }); diff --git a/test/staging/Intl402/Temporal/old/non-iso-calendars-indian.js b/test/staging/Intl402/Temporal/old/non-iso-calendars-indian.js index d22b336e23..fa53581dd5 100644 --- a/test/staging/Intl402/Temporal/old/non-iso-calendars-indian.js +++ b/test/staging/Intl402/Temporal/old/non-iso-calendars-indian.js @@ -26,14 +26,14 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) { compareFormatToPartsSnapshot("2000-01-01T00:00Z", { year: 1921, - era: "Saka", + era: "Śaka", month: 10, day: 11, }); compareFormatToPartsSnapshot("0001-01-01T00:00Z", { year: -78, - era: "Saka", + era: "Śaka", month: 10, day: 11, });