Intent to Ship: Intl.DurationFormat

42 views
Skip to first unread message

Frank Tang

unread,
Jul 1, 2024, 6:16:07 PM (10 hours ago) Jul 1
to blink-dev, Shu-yu Guo, Shane Carr (Chromium), Frank Yung-Fong Tang, Nebojša Ćirić
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

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>JavaScript>Internationalization


 No active development tracking bug

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Search tags

History

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



Domenic Denicola

unread,
Jul 1, 2024, 9:06:20 PM (7 hours ago) Jul 1
to Frank Tang, blink-dev, Shu-yu Guo, Shane Carr (Chromium), Frank Yung-Fong Tang, Nebojša Ćirić
Hi Frank,

Can you use Chrome Status to generate an Intent to Ship email, and send that? It appears instead you have copied and pasted the Chrome Status webpage, which does not contain all the same information.

Thanks,
Domenic

--
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.
Reply all
Reply to author
Forward
0 new messages