Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c46df7f6e142a38fc92073960ce90389913387f4
      
https://github.com/WebKit/WebKit/commit/c46df7f6e142a38fc92073960ce90389913387f4
  Author: Ithril <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M JSTests/stress/temporal-calendar-icu-bridge-non-iso.js
    M Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.cpp

  Log Message:
  -----------
  [JSC][Temporal] Fix Ethiopic AA era mapping

https://bugs.webkit.org/show_bug.cgi?id=319787

Reviewed by Yijia Huang.

ICU represents the historical Ethiopic AA era as era 0 and the modern AM era as 
era 1. Map those values explicitly in both directions so Temporal accepts AA 
property bags and reports the correct era for historical dates.

Test: JSTests/stress/temporal-calendar-icu-bridge-non-iso.js

* JSTests/stress/temporal-calendar-icu-bridge-non-iso.js:
  - Add modern AM and historical AA parsing and field-output coverage.

* Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.cpp:
  (JSC::Temporal::mapICUEraToTemporalEra):
  (JSC::Temporal::mapTemporalEraToICUEra):
  - Distinguish Ethiopic AA and AM ICU era values.

Canonical link: https://commits.webkit.org/317558@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to