From 55a0715e47757860cc1958f8e15d2c077430e0a8 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Wed, 15 Jan 2025 12:03:38 +0800 Subject: [PATCH] fix --- src/utils/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/functions.ts b/src/utils/functions.ts index aeab3ce..e51f406 100644 --- a/src/utils/functions.ts +++ b/src/utils/functions.ts @@ -76,7 +76,7 @@ export function secondsToDuration(seconds: number): string { start: 0, end: seconds * 1000, }) - return [duration.hours ?? 0, duration.minutes ?? 0, duration.seconds].join( + return [duration.hours ?? 0, duration.minutes ?? 0, duration.seconds ?? 0].join( ":", ) }