Skip to content

[stable5.4] fix(results): format the summary numbers for the user's locale - #3973

Merged
AndyScherzinger merged 1 commit into
stable5.4from
backport/3972/stable5.4
Nov 21, 2026
Merged

AndyScherzinger merged 1 commit into
stable5.4from
backport/3972/stable5.4

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 21, 2026

Copy link
Copy Markdown

Backport of PR #3972

The results summary printed its counts, percentages, Borda scores and
averages as raw JavaScript numbers: toFixed(1) for the average rank and
grid averages, and a literal "%" after the percentages. They always used
Latin digits, a decimal point and the English percent placement,
whatever the user's language.

Format them with Intl.NumberFormat for the user's locale instead, keeping
one decimal for the averages and whole percentages.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger
AndyScherzinger merged commit 1989f63 into stable5.4 Nov 21, 2026
42 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/3972/stable5.4 branch November 21, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant