Skip to content

Commit

Permalink
Merge pull request #28 from Likelion-Inner-Join/fix/datetime
Browse files Browse the repository at this point in the history
[Fix] 날짜형식 통일
  • Loading branch information
luna156 authored Dec 21, 2024
2 parents b501089 + 4f3a534 commit ec6c669
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
public class ApplicationPutRequestDto {
private ResultType formResult;
private ResultType meetingResult;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime meetingStartTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime meetingEndTime;
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public class PostCreateRequestDTO {

private String title;

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

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

private String content;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public class ApplicationDto {
private Integer meetingScore;


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

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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public class FormListResponseDto {
private Long id;
private String title;
private String description;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime modifiedAt;
}
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 HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
@Column(name = "meeting_start_time")
private LocalDateTime meetingStartTime;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd'T'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 HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime startTime;

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

private String content;
Expand Down

0 comments on commit ec6c669

Please sign in to comment.