Skip to content

Commit

Permalink
[fix] JsonFormat 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0524 committed Dec 24, 2024
1 parent dde18a7 commit 9d753bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import lombok.Builder;
import lombok.Getter;

Expand Down Expand Up @@ -33,6 +32,7 @@ public static class ViewChatInfoResponse {
private int unreadCount;
private String lastChat;
private String lastSender;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS")
private LocalDateTime updatedAt;
private String opponentId;
private String opponentNickname;
Expand Down

0 comments on commit 9d753bf

Please sign in to comment.