From 8159d905355a5eefcc293c8bc0dee77b72f18cae Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Fri, 30 Aug 2024 22:38:49 +0900 Subject: [PATCH] Update format.ts --- src/lib/format.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/lib/format.ts b/src/lib/format.ts index 6cff454ed..e293e0e48 100644 --- a/src/lib/format.ts +++ b/src/lib/format.ts @@ -16,15 +16,6 @@ export function parseTime(val: number) { }; } -export function formatTime(val: number) { - const { hours, minutes, seconds } = parseTime(val); - const h = hours > 0 ? `${hours}:` : ''; - const m = hours > 0 ? minutes.toString().padStart(2, '0') : minutes; - const s = seconds.toString().padStart(2, '0'); - - return `${h}${m}:${s}`; -} - export function formatShortTime( intl: IntlShape, useMessages: any,