Skip to content

Commit

Permalink
refactor : date -> string 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
임현우 committed Sep 3, 2024
1 parent aed4909 commit 4021678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ private TastingNoteResponse.TastingNoteListDTO toTastingNoteListDTO(TastingNote
.isPublic(result.getIsPublic())
.tastingNoteNo(tastingNoteNo.get(result.getId()))
.userNickname(result.getUser().getNickName())
.noteDate(result.getCreatedAt().toLocalDate())
.noteDate(result.getCreatedAt().toLocalDate().toString())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static class TastingNoteListDTO {
@Schema(description = "유저 이름")
private String userNickname;
@Schema(description = "노트 생성 날짜")
private LocalDate noteDate;
private String noteDate;
}

@NoArgsConstructor
Expand Down

0 comments on commit 4021678

Please sign in to comment.