Skip to content

Commit

Permalink
#82 fix : LocalDateTime 포맷 변경 dd-MM-yyy hh:mm:ss.SSS -> yyyy-MM-dd HH:mm
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkode committed Apr 26, 2024
1 parent 36e5ff3 commit a35250b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public record CreateProjectRequest(
@NotBlank(message = "위도는 필수항목입니다.")
Double latitude,
@NotBlank(message = "시작일시는 필수항목입니다.")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd-MM-yyy hh:mm:ss.SSS", timezone = "Asia/Seoul")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "Asia/Seoul")
LocalDateTime startAt,
@NotBlank(message = "종료일시는 필수항목입니다.")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd-MM-yyy hh:mm:ss.SSS", timezone = "Asia/Seoul")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "Asia/Seoul")
LocalDateTime endAt

) {
Expand Down

0 comments on commit a35250b

Please sign in to comment.