Skip to content

Commit

Permalink
[BugFix] - ec2 응답 시 날짜 테스트 중입니다.
Browse files Browse the repository at this point in the history
[BugFix] - ec2 응답 시 날짜 테스트 중입니다.
  • Loading branch information
fakerdeft committed May 14, 2024
2 parents ca07ef9 + 3187dd7 commit 76a3521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/coverflow/notice/dto/NoticeDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@NoArgsConstructor
Expand All @@ -16,7 +16,7 @@ public class NoticeDTO {
private String noticeContent;
private long noticeViews;
private boolean noticeStatus;
private LocalDate createdAt;
private LocalDateTime createdAt;

public static NoticeDTO from(final Notice notice) {
return new NoticeDTO(
Expand All @@ -25,7 +25,7 @@ public static NoticeDTO from(final Notice notice) {
notice.getContent(),
notice.getViews(),
notice.isNoticeStatus(),
notice.getCreatedAt().toLocalDate()
notice.getCreatedAt()
);
}
}

0 comments on commit 76a3521

Please sign in to comment.