tc39 / proposal-intl-duration-format

https://tc39.es/proposal-intl-duration-format
MIT License
171 stars 18 forks source link

Normative: turn useGrouping false for hours & smaller units when style is 2-digits or numeric #198

Closed FrankYFTang closed 3 months ago

FrankYFTang commented 7 months ago

Fix https://github.com/tc39/proposal-intl-duration-format/issues/192

sffc commented 6 months ago

TG2 approval: https://github.com/tc39/ecma402/blob/main/meetings/notes-2024-04-25.md#normative-turn-usegrouping-false-for-hours--smaller-units-when-style-is-2-digits-or-numeric-198

FrankYFTang commented 3 months ago

I have problem to update this PR to the latest spec text. The spec text got heavily changed by @ben-allen in editorial PR. @ben-allen could you look at your latest spec text and figure out how to address https://github.com/tc39/proposal-intl-duration-format/issues/192 ?

ben-allen commented 3 months ago

Updated to set useGrouping to *false* in FormatNumericHour, FormatNumericMinutes, FormatNumericSeconds. @FrankYFTang quick review?

FrankYFTang commented 3 months ago

This PR implemented what the TG2 agreed change and got merged. I think we need someone to bring this PR to the next TG1 to got official consensus for the change inside Stage 3.

ben-allen commented 3 months ago

@FrankYFTang My bad -- I thought we already had TG1 consensus on the previous version. Will add to agenda for next TG1.

FrankYFTang commented 1 month ago

This has reach TC39 consesus on 2024-10-09 meeting