RESOLVED FIXED281394
[JSC] Limits values for `Intl.DurationFormat`
https://bugs.webkit.org/show_bug.cgi?id=281394
Summary [JSC] Limits values for `Intl.DurationFormat`
Sosuke Suzuki
Reported 2024-10-13 00:41:28 PDT
To align with the behavior of `Temporal.Duration`, a value limit has been added to `Intl.DurationFormat`[1]. This patch implements that specification. In the spec, this limit is represented as a double based on seconds. However, to avoid rounding errors, we represent it as an `Int128` based on nanoseconds. [1]: https://github.com/tc39/proposal-intl-duration-format/pull/173
Attachments
Sosuke Suzuki
Comment 1 2024-10-13 00:43:05 PDT
EWS
Comment 2 2024-10-14 10:20:03 PDT
Committed 285131@main (67e4f629c1ce): <https://commits.webkit.org/285131@main> Reviewed commits have been landed. Closing PR #35117 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-10-14 10:21:16 PDT
Note You need to log in before you can comment on or make changes to this bug.