Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9334e8ce4895ee03e4da58104742f028627a84e1
https://github.com/WebKit/WebKit/commit/9334e8ce4895ee03e4da58104742f028627a84e1
Author: Yusuke Suzuki <[email protected]>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M JSTests/stress/intl-datetimeformat-resolved-options-am-pm.js
Log Message:
-----------
[JSC] Fix JSTests/stress/intl-datetimeformat-resolved-options-am-pm.js
https://bugs.webkit.org/show_bug.cgi?id=325769
rdar://188781032
Reviewed by Sosuke Suzuki.
321443@main added JSTests/stress/intl-datetimeformat-resolved-options-am-pm.js
test,
which assumes every locale's default 12-hour pattern uses 'a', but that isn't
true.
Apple ICU 78.1 answers different results as its best patterns.
locale | skeleton
en-US, en-GB, ar | h:mm a
ja | aK:mm
ko | a h:mm
zh-Hant | Bh:mm
hi | B h:mm
We fix the test by weakining the assumption in the loop. 12-hour pattern
may have B instead of 'a'.
* JSTests/stress/intl-datetimeformat-resolved-options-am-pm.js:
Canonical link: https://commits.webkit.org/322255@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications