Closed sideeffect42 closed 4 months ago
When Ladybird is linked against ICU < 74.1 the islamic calendar is called "Islamic Calendar" instead of "Hijri calendar".
This results in a test failure:
FAIL builtins/Intl/DisplayNames/DisplayNames.prototype.of.js ❌ Suite: correct behavior Test: option type calendar (failed): ExpectationError: toBe: expected _Hijri Calendar_, got _Islamic Calendar_
Ladybird js:
> new Intl.DisplayNames("en", { type: "calendar" }).of("islamic"); "Islamic Calendar"
The same also applies to Firefox and WebKitGTK:
Firefox:
> new Intl.DisplayNames("en", { type: "calendar" }).of("islamic") "Islamic Calendar"
WebKitGTK (jsc):
new Intl.DisplayNames("en", { type: "calendar" }).of("islamic"); >>> "Islamic Calendar"
https://github.com/unicode-org/icu/releases/tag/release-74-1 https://cldr.unicode.org/index/downloads/cldr-44
We are not going to support having our tests pass with old versions of the CLDR. Similarly, test262 does not bother supporting old versions. We specify the version we support with vcpkg.
When Ladybird is linked against ICU < 74.1 the islamic calendar is called "Islamic Calendar" instead of "Hijri calendar".
This results in a test failure:
Ladybird js:
The same also applies to Firefox and WebKitGTK:
Firefox:
WebKitGTK (jsc):
https://github.com/unicode-org/icu/releases/tag/release-74-1 https://cldr.unicode.org/index/downloads/cldr-44