From ad9834c3a04ffe5c2e3c3092d51acacd9cf408b1 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Sat, 16 Nov 2024 11:29:34 +0800 Subject: [PATCH] Update date format in `getCurrentDate` function to `yyyy-MM-dd-HHmm-ss` --- web/src/utils/date.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/date.ts b/web/src/utils/date.ts index ad131fc2..ee71366b 100644 --- a/web/src/utils/date.ts +++ b/web/src/utils/date.ts @@ -6,7 +6,7 @@ export function nowISO(): string { export function getCurrentDate() { const now = DateTime.now() - const formattedDate = now.toFormat('YYYY-MM-DD HH:mm:ss') + const formattedDate = now.toFormat('yyyy-MM-dd-HHmm-ss') return formattedDate }