From 52d88220482b2911a77e80799c3ca6ebf92e4845 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 20 Jan 2025 20:12:34 +0900 Subject: [PATCH] Fix human readable time format (#732) --- packages/web_ui/src/util/time_format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web_ui/src/util/time_format.ts b/packages/web_ui/src/util/time_format.ts index 69082573..edfe7d3b 100644 --- a/packages/web_ui/src/util/time_format.ts +++ b/packages/web_ui/src/util/time_format.ts @@ -27,7 +27,7 @@ export function formatDuration(ms: number): string { result += formatMinute(Math.floor(ms / 60e3)); ms %= 60e3; } - result += formatSecond(Math.round(ms / 1e3)); + result += formatSecond(Math.floor(ms / 1e3)); return result; }