From 42ccc04d299dba426d921fc2df383c7d135e7702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E9=80=9A=7CKevin=2EHuang?= Date: Tue, 30 Apr 2024 18:43:11 +0800 Subject: [PATCH] Update newFile.ts use 24H time --- src/utils/newFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/newFile.ts b/src/utils/newFile.ts index ea25731..f93cf38 100644 --- a/src/utils/newFile.ts +++ b/src/utils/newFile.ts @@ -24,7 +24,7 @@ export const getFileCreateString = (params: { plugin: FileTreeAlternativePlugin; plugin.settings.createdYaml ? ` --- - created: ${dayjs(new Date()).format('YYYY-MM-DD hh:mm:ss')} + created: ${dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss')} --- ` : ''