https://chromestatus.com/feature/5193021205774336
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/ 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. Documentation - [image: icon]Intl.DurationFormat Design Doc <https://docs.google.com/document/d/1UMwkeeiqVyVNhNW8CS1vwN9g2cIH0AryaU16DT-vGg0/edit> Specification https://tc39.es/proposal-intl-duration-format Spec status: Final published standard: Recommendation, Living Standard, Candidate Recommendation, or similar final form Status in Chromium Blink components: Blink>JavaScript>Internationalization <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EJavaScript%3EInternationalization> Implementation status: *No active development* tracking bug <https://bugs.chromium.org/p/v8/issues/detail?id=11660> Consensus & Standardization After a feature ships in Chrome, the values listed here are not guaranteed to be up to date. - Firefox:In development: [image: icon]1648139 - Implement Intl.DurationFormat <https://bugzilla.mozilla.org/show_bug.cgi?id=1648139> - Safari:In development: [image: icon]214794 – [JSC] Implement Intl.DurationFormat <https://bugs.webkit.org/show_bug.cgi?id=214794> - Web Developers:Positive Owner - ft...@google.com Search tagsHistory Entry created on 2022-09-09 16:28:26 ( 2 years ago ) Last updated on 2024-07-01 22:05:06 ( 6 minutes ago ) All comments & activity <https://chromestatus.com/feature/5193021205774336/activity> -- 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-sWzM%2B0F3M1Dod8phpu2W9GNaMabxSYqZRUFi-dQ%3DugA%40mail.gmail.com.