tc39 / proposal-intl-duration-format

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

Bugfix: Display negative sign on leading numeric-style zeroes #207

Closed ben-allen closed 4 weeks ago

ben-allen commented 1 month ago

Bugfix: FormatNumericUnits previously incorrectly dropped the negative sign when:

This adds tests for these conditions to FormatNumericUnits.

fixes https://github.com/tc39/proposal-intl-duration-format/issues/204

ben-allen commented 1 month ago

I'm tentatively thinking this is a bugfix rather than a normative change, though I've requested time on the plenary agenda in case others tell me it's normative. thoughts? @ryzokuken @gibson042

ben-allen commented 4 weeks ago

Achieved consensus at July 2024 plenary