From 28e2601715f8dc9dadcb1d2ec70c4385e9a9e12b Mon Sep 17 00:00:00 2001 From: Choi siun Date: Sat, 24 Aug 2024 00:45:27 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=8B=9C=EA=B0=84=20=ED=8F=AC=EB=A7=A4?= =?UTF-8?q?=ED=8C=85=20=ED=95=A8=EC=88=98=20string=20=EC=A7=80=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 1b23b08..06b783a 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -22,7 +22,7 @@ export function formatDuration(time: string | number | Date) { return `${format(time, "yyyy.MM.dd")}`; } -export function formatUTCtoKST(utcDateString: Date) { +export function formatUTCtoKST(utcDateString: Date | string) { const date = new Date(utcDateString); const kstDate = new Date(date.getTime() + 9 * 60 * 60 * 1000);