Skip to content

Commit

Permalink
fix: 날짜 출력 형식 수정 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haewonny committed Feb 7, 2024
1 parent 0b5f1ce commit 6c1fa5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public ChatHistoryResponseDto.ChatHistoryDto getChatHistory(Users nowUser, Strin
.map(chatHistory -> {
LocalDateTime createdAt = chatHistory.getCreatedAt();

String chatDate = createdAt.format(DateTimeFormatter.ofPattern("dd.MM"));
String chatDate = createdAt.format(DateTimeFormatter.ofPattern("MM.dd"));
String chatTime = createdAt.format(DateTimeFormatter.ofPattern("HH:mm"));

return new ChatHistoryResponseDto.ChatListDto(
Expand Down

0 comments on commit 6c1fa5e

Please sign in to comment.