Skip to content

Commit

Permalink
Merge pull request #76 from Fam-Story/fix/74-post-api
Browse files Browse the repository at this point in the history
hotfix: 게시글 월 수정
  • Loading branch information
synoti21 authored Dec 5, 2023
2 parents ec9f0fe + f947d35 commit 299b792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/post/post.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class PostService {

const createDate = new Date(
createPostDto.createdYear,
createPostDto.createdMonth,
createPostDto.createdMonth - 1,
createPostDto.createdDay,
);
createDate.setHours(createPostDto.createdHour);
Expand Down

0 comments on commit 299b792

Please sign in to comment.