diff --git a/src/utils/markdown-utils.ts b/src/utils/markdown-utils.ts index d9aeae5..0b02911 100644 --- a/src/utils/markdown-utils.ts +++ b/src/utils/markdown-utils.ts @@ -41,7 +41,7 @@ export function ellipsis(text: string, maxLength: number): string { export function formatTime(ms: number): string { if (ms > 1000) { - return `${(ms / 1000).toFixed(3)}s` + return `${Math.round(ms / 1000)}s` } return `${Math.round(ms)}ms`