Skip to content

Commit

Permalink
refactor: 날짜 출력 기능 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHongDev committed Jul 4, 2024
1 parent d25abe3 commit a8f42e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils/Date.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@


export const dateToString = (date: Date) => `${date.getFullYear()}${date.getMonth()}${date.getDay()}일`;
export const dateToString = (date: Date) => `${date.getFullYear()}${date.getMonth() + 1}${date.getDay()}일`;

0 comments on commit a8f42e9

Please sign in to comment.