[webkit-changes] [WebKit/WebKit] 5b076c: [JSC] Change Intl.DurationFormat digital's default...

Yusuke Suzuki noreply at github.com
Mon Aug 14 18:09:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b076c9f5d3d9703e4b662b6542cacdf744d8d01
      https://github.com/WebKit/WebKit/commit/5b076c9f5d3d9703e4b662b6542cacdf744d8d01
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M JSTests/stress/intl-durationformat-digital.js
    M JSTests/stress/intl-durationformat-format-to-parts.js
    M Source/JavaScriptCore/runtime/IntlDurationFormat.cpp

  Log Message:
  -----------
  [JSC] Change Intl.DurationFormat digital's default from narrow to short
https://bugs.webkit.org/show_bug.cgi?id=260182
rdar://113879830

Reviewed by Justin Michaud.

Update the implementation to align to the latest spec update[1].
We should use "short" instead of "narrow" by default for Intl.DurationFormat digital formatting.

[1]: https://github.com/tc39/proposal-intl-duration-format/commit/4c24876cb42e2167a65ac4a0c5628cfd40f58cd0

* Source/JavaScriptCore/runtime/IntlDurationFormat.cpp:

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




More information about the webkit-changes mailing list