Skip to content

Commit

Permalink
Merge pull request #29 from Likelion-Inner-Join/fix/datetime
Browse files Browse the repository at this point in the history
[Fix] db에 저장되는 데이터는 기존대로 사용
  • Loading branch information
luna156 authored Dec 21, 2024
2 parents ec6c669 + c744a71 commit a4fe623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public class MeetingTime extends DataEntity {
@Column(name = "allowed_num")
private int allowedNum;

@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Column(name = "meeting_start_time")
private LocalDateTime meetingStartTime;

@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Column(name = "meeting_end_time")
private LocalDateTime meetingEndTime;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public class Post extends DataEntity {
private String title;

@Column(name = "start_time")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime startTime;

@Column(name = "end_time")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime endTime;

private String content;
Expand Down

0 comments on commit a4fe623

Please sign in to comment.