From e7024c1761bdc2bf35005e890b8686ef3fb8fa77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Thu, 7 Nov 2024 18:58:20 +0100 Subject: [PATCH] Disable grouping for numeric units in Intl.DurationFormat --- harness/testIntl.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/harness/testIntl.js b/harness/testIntl.js index f7a7036c13..804d4ec1b7 100644 --- a/harness/testIntl.js +++ b/harness/testIntl.js @@ -2673,6 +2673,8 @@ function partitionDurationFormatPattern(durationFormat, duration) { nfOpts.style = "unit"; nfOpts.unit = numberFormatUnit; nfOpts.unitDisplay = style; + } else { + nfOpts.useGrouping = false; } let nf = new Intl.NumberFormat(locale, nfOpts);