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