Contact emailsft...@google.com Explainerhttps://github.com/tc39/proposal-intl-duration-format
Specificationhttps://tc39.es/proposal-intl-duration-format Summary Intl.DurationFormat API is a TC39 ECMA402 proposal See https://github.com/tc39/proposal-intl-duration-format for the proposal The proposal advanced to Stage 3 on 2021-10 Spec: https://tc39.es/proposal-intl-duration-format/ Blink componentBlink>JavaScript>Internationalization <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EJavaScript%3EInternationalization> Motivation This TC39/ECMA402 proposal advanced to Stage 3 in Oct 2021. Users need all types of duration formatting depending on the requirements of their application. For example, to show how long a flight takes, the duration should be in Short or Narrow format "1 hr 40 min 60 sec" → Short "1h 40m 60s" → Narrow And such format are different in different locale. This API enacpsulate the details of such formatting and provide an unified API supporting multiple locales. Initial public proposal TAG review TAG review statusNot applicable Risks Interoperability and Compatibility *Gecko*: In development ( https://bugzilla.mozilla.org/show_bug.cgi?id=1648139) *WebKit*: In development (https://bugs.webkit.org/show_bug.cgi?id=214794) *Web developers*: Positive (https://github.com/tc39/ecma402-mdn/issues/22) *Other signals*: WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? Debuggability tbw Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes Flag name Requires code in //chrome?False Tracking bughttps://bugs.chromium.org/p/v8/issues/detail?id=11660 Estimated milestones No milestones specified Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5193021205774336 This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOcELL-vykLL8UDTG1QcKptGfyRPw8T6StP2%2BqMPFv09aUHPbg%40mail.gmail.com.