From b5ab1d6b33fb845127fdc4bc72bf5a7745224eeb Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 14 Aug 2025 21:36:34 +0200 Subject: [PATCH] fix: always convert seconds to fixed 3 when printing running time --- packages/web/src/widgets/SummaryProcesses.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/widgets/SummaryProcesses.svelte b/packages/web/src/widgets/SummaryProcesses.svelte index 0a162b4cb..a6f51c832 100644 --- a/packages/web/src/widgets/SummaryProcesses.svelte +++ b/packages/web/src/widgets/SummaryProcesses.svelte @@ -47,7 +47,7 @@ function formatRunningTime(seconds: number): string { if (!seconds) return '-'; if (seconds < 60) return `${seconds.toFixed(3)}s`; - if (seconds < 3600) return `${Math.floor(seconds / 60)}m ${seconds % 60}s`; + if (seconds < 3600) return `${Math.floor(seconds / 60)}m ${(seconds % 60).toFixed(3)}s`; return `${Math.floor(seconds / 3600)}h ${Math.floor((seconds % 3600) / 60)}m`; }