Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Change last refresh time display format to system locale

muratodab730b8be35dc
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx
index 96ff05865b..55d525de44 100644
--- a/frontend-modern/src/App.tsx
+++ b/frontend-modern/src/App.tsx
@@ -368,11 +368,10 @@ function App() {
const formatLastUpdate = (timestamp: string) => {
if (!timestamp) return '';
const date = new Date(timestamp);
- return date.toLocaleTimeString('en-US', {
+ return date.toLocaleTimeString(undefined, {
hour: 'numeric',
minute: '2-digit',
- second: '2-digit',
- hour12: true
+ second: '2-digit'
});
};