From f947d35537e62e8d0c117f9493e7c144c9aef732 Mon Sep 17 00:00:00 2001 From: Ahn Jiwan Date: Wed, 6 Dec 2023 00:47:26 +0900 Subject: [PATCH] =?UTF-8?q?:ambulance:=20hotfix:=20=EA=B2=8C=EC=8B=9C?= =?UTF-8?q?=EA=B8=80=20=EC=9B=94=20=EC=88=98=EC=A0=95=20(#74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/domain/post/post.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/post/post.service.ts b/src/domain/post/post.service.ts index 784fa82..1871b8e 100644 --- a/src/domain/post/post.service.ts +++ b/src/domain/post/post.service.ts @@ -24,7 +24,7 @@ export class PostService { const createDate = new Date( createPostDto.createdYear, - createPostDto.createdMonth, + createPostDto.createdMonth - 1, createPostDto.createdDay, ); createDate.setHours(createPostDto.createdHour);