Fix human readable time format (#732)

This commit is contained in:
phidias authored and GitHub committed 2025-01-20 11:12:34 +00:00
1 parent 97e25eb885
commit 52d8822048
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}