Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5745eb4c8ff15d24b72273f76364a1d3468608db
https://github.com/WebKit/WebKit/commit/5745eb4c8ff15d24b72273f76364a1d3468608db
Author: Yijia Huang <[email protected]>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
A JSTests/stress/intl-datetimeformat-temporal-formatter-cache.js
M JSTests/stress/temporal-plaindate.js
M JSTests/stress/temporal-plaindatetime.js
M JSTests/stress/temporal-plainmonthday.js
M JSTests/stress/temporal-plaintime.js
M JSTests/stress/temporal-plainyearmonth.js
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
M Source/JavaScriptCore/runtime/IntlDateTimeFormat.h
M Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp
M Source/JavaScriptCore/runtime/TemporalInstantPrototype.cpp
M Source/JavaScriptCore/runtime/TemporalPlainDatePrototype.cpp
M Source/JavaScriptCore/runtime/TemporalPlainDateTimePrototype.cpp
M Source/JavaScriptCore/runtime/TemporalPlainMonthDayPrototype.cpp
M Source/JavaScriptCore/runtime/TemporalPlainTimePrototype.cpp
M Source/JavaScriptCore/runtime/TemporalPlainYearMonthPrototype.cpp
Log Message:
-----------
[JSC][Temporal] Implement Intl.DateTimeFormat Temporal support and
toLocaleString
https://bugs.webkit.org/show_bug.cgi?id=315637
rdar://178012405
Reviewed by Yusuke Suzuki.
Implement the Temporal proposal's Intl.DateTimeFormat integration:
HandleDateTimeValue,
SameTemporalType, AdjustDateTimeStyleFormat, GetDateTimeFormat, FormatDateTime,
FormatDateTimeToParts, FormatDateTimeRange, and FormatDateTimeRangeToParts.
Introduce TemporalFieldKind to drive per-type ICU skeleton filtering, lazy
formatter
caching, and timezone selection (GMT for plain types, DTF timezone for Instant).
Calendar validation throws RangeError before TypeError; iso8601 is exempt only
for
PlainDate and PlainDateTime.
Wire up toLocaleString on all six Temporal prototype objects. Remove the
//@ skip directives that were blocking toLocaleString tests. Remove 201
now-passing test262 expectations.
Test: JSTests/stress/intl-datetimeformat-temporal-formatter-cache.js
Canonical link: https://commits.webkit.org/314183@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications