Update old Temporal tests for CLDR 48

CLDR 48 changed some era names, update the tests accordingly.
This commit is contained in:
André Bargull 2025-11-27 09:42:47 +01:00 committed by Philip Chimento
parent 3102b7c115
commit a1f905d440
4 changed files with 8 additions and 8 deletions

View File

@ -26,14 +26,14 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) {
compareFormatToPartsSnapshot("2000-01-01T00:00Z", { compareFormatToPartsSnapshot("2000-01-01T00:00Z", {
year: 1716, year: 1716,
era: "ERA1", era: "AM",
month: 4, month: 4,
day: 22, day: 22,
}); });
compareFormatToPartsSnapshot("0001-01-01T00:00Z", { compareFormatToPartsSnapshot("0001-01-01T00:00Z", {
year: 284, year: -283,
era: "ERA0", era: "AM",
month: 5, month: 5,
day: 8, day: 8,
}); });

View File

@ -26,14 +26,14 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) {
compareFormatToPartsSnapshot("2000-01-01T00:00Z", { compareFormatToPartsSnapshot("2000-01-01T00:00Z", {
year: 7492, year: 7492,
era: "ERA0", era: "AA",
month: 4, month: 4,
day: 22, day: 22,
}); });
compareFormatToPartsSnapshot("0001-01-01T00:00Z", { compareFormatToPartsSnapshot("0001-01-01T00:00Z", {
year: 5493, year: 5493,
era: "ERA0", era: "AA",
month: 5, month: 5,
day: 8, day: 8,
}); });

View File

@ -26,7 +26,7 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) {
compareFormatToPartsSnapshot("2000-01-01T00:00Z", { compareFormatToPartsSnapshot("2000-01-01T00:00Z", {
year: 1992, year: 1992,
era: "ERA1", era: "AM",
month: 4, month: 4,
day: 22, day: 22,
}); });

View File

@ -26,14 +26,14 @@ function compareFormatToPartsSnapshot(isoString, expectedComponents) {
compareFormatToPartsSnapshot("2000-01-01T00:00Z", { compareFormatToPartsSnapshot("2000-01-01T00:00Z", {
year: 1921, year: 1921,
era: "Saka", era: "Śaka",
month: 10, month: 10,
day: 11, day: 11,
}); });
compareFormatToPartsSnapshot("0001-01-01T00:00Z", { compareFormatToPartsSnapshot("0001-01-01T00:00Z", {
year: -78, year: -78,
era: "Saka", era: "Śaka",
month: 10, month: 10,
day: 11, day: 11,
}); });