Merge branch 'main' into fix-x2-bounds

This commit is contained in:
Abdo 2025-08-14 20:32:43 +03:00 committed by GitHub
commit 9478d323b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import { localizedDate } from "@tslib/i18n";
import { createLocaleNumberFormat, localizedDate } from "@tslib/i18n";
import {
axisBottom,
axisLeft,
@ -74,7 +74,7 @@ export function renderWorkloadChart(
: n.toString();
};
const formatter = new Intl.NumberFormat(undefined, {
const formatter = createLocaleNumberFormat({
style: "percent",
minimumFractionDigits: 0,
maximumFractionDigits: 0,