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/
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.
https://tc39.es/proposal-intl-duration-format
Spec status: Final published standard: Recommendation, Living Standard, Candidate Recommendation, or similar final form
Blink>JavaScript>Internationalization
No active development tracking bug
Entry created on 2022-09-09 16:28:26 ( 2 years ago )
Last updated on 2024-07-01 22:05:06 ( 6 minutes ago )
--
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+...@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.