Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 57b041070824fe1a7ad9675c08cdb05711eadb00
https://github.com/WebKit/WebKit/commit/57b041070824fe1a7ad9675c08cdb05711eadb00
Author: Yusuke Suzuki <[email protected]>
Date: 2026-07-22 (Wed, 22 Jul 2026)
Changed paths:
A JSTests/stress/temporal-japanese-calendar-proleptic-gregorian.js
M Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.cpp
Log Message:
-----------
[JSC][Temporal] japanese calendar can use ISO year, day, month, monthcode
https://bugs.webkit.org/show_bug.cgi?id=319964
rdar://182889728
Reviewed by Yijia Huang.
Since japanese calendar is using proleptic Gregorian calendar, for year,
day, month, monthcode, we do not need to query to the calendar, we can
just use ISO 8601 values. For era related ones need to query to the
actual calendar.
Test: JSTests/stress/temporal-japanese-calendar-proleptic-gregorian.js
* JSTests/stress/temporal-japanese-calendar-proleptic-gregorian.js: Added.
(shouldBe):
(checkDateFields):
(checkEra):
* Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.cpp:
(JSC::TemporalCore::isoToCalendarFields):
(JSC::TemporalCore::calendarMonth):
(JSC::TemporalCore::calendarMonthCode):
(JSC::TemporalCore::calendarDay):
Canonical link: https://commits.webkit.org/317717@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications