[PR #832] [MERGED] Fix wrong language formatting in charts #999

Closed
opened 2026-02-05 18:00:46 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/832
Author: @Boy132
Created: 12/14/2024
Status: Merged
Merged: 12/17/2024
Merged by: @Boy132

Base: mainHead: fix/server-charts-formatting


📝 Commits (1)

  • bdc19fb fix wrong language formatting in charts

📊 Changes

4 files changed (+12 additions, -8 deletions)

View changed files

📝 app/Filament/Admin/Resources/NodeResource/Widgets/NodeCpuChart.php (+3 -2)
📝 app/Filament/Admin/Resources/NodeResource/Widgets/NodeMemoryChart.php (+3 -2)
📝 app/Filament/Server/Widgets/ServerCpuChart.php (+3 -2)
📝 app/Filament/Server/Widgets/ServerMemoryChart.php (+3 -2)

📄 Description

Set the locale in the chart itself rather than formatting the values in the user locale.

(ref "Stats not working after upgrade" on Discord)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/832 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 12/14/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `fix/server-charts-formatting` --- ### 📝 Commits (1) - [`bdc19fb`](https://github.com/pelican-dev/panel/commit/bdc19fbdb6353a8524adae0dfd3cb2a140cd6b51) fix wrong language formatting in charts ### 📊 Changes **4 files changed** (+12 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/NodeResource/Widgets/NodeCpuChart.php` (+3 -2) 📝 `app/Filament/Admin/Resources/NodeResource/Widgets/NodeMemoryChart.php` (+3 -2) 📝 `app/Filament/Server/Widgets/ServerCpuChart.php` (+3 -2) 📝 `app/Filament/Server/Widgets/ServerMemoryChart.php` (+3 -2) </details> ### 📄 Description Set the locale in the chart itself rather than formatting the values in the user locale. (ref ["Stats not working after upgrade" on Discord](https://discord.com/channels/1218730176297439332/1316778213803950162)) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 18:00:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#999