[webkit-changes] [WebKit/WebKit] 0fe5a6: [JSC] Apply the new display computation for digita...

Yusuke Suzuki noreply at github.com
Thu Apr 6 13:35:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0fe5a6846d5f1aa78459dbf8441a16195a9f4adb
      https://github.com/WebKit/WebKit/commit/0fe5a6846d5f1aa78459dbf8441a16195a9f4adb
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

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

  Log Message:
  -----------
  [JSC] Apply the new display computation for digital in Intl.DurationFormat
https://bugs.webkit.org/show_bug.cgi?id=255108
rdar://problem/107721519

Reviewed by Mark Lam.

Apply the change[1]. This makes `hours` / `minutes` / `seconds` display in digital special instead of making them auto.

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

* JSTests/stress/intl-durationformat-digital.js:
(Intl.DurationFormat.shouldBeOneOf):
* Source/JavaScriptCore/runtime/IntlDurationFormat.cpp:
(JSC::intlDurationUnitOptions):

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




More information about the webkit-changes mailing list