From 68b09b8296b8b4590ca0e0773234be713e0490d7 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 f7a7036c134..804d4ec1b73 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);