From f07e496f79273f750371ffcecbf458e3fbc27181 Mon Sep 17 00:00:00 2001 From: hyejungg Date: Sun, 7 May 2023 02:59:57 +0900 Subject: [PATCH] =?UTF-8?q?#327=20[hotfix]=20UTC=20->=20KST=20=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=ED=99=98=ED=95=98=EB=8A=94=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/notification/dto/response/NotificationInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java b/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java index 6d28f7d..5e40bba 100644 --- a/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java +++ b/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java @@ -13,7 +13,9 @@ import lombok.Getter; import lombok.NoArgsConstructor; import lombok.ToString; +import lombok.extern.slf4j.Slf4j; +@Slf4j @ToString @Getter @NoArgsConstructor(access = AccessLevel.PRIVATE) @@ -38,7 +40,7 @@ public static NotificationInfo of(Notification notification, LocalDateTime now) .type(notification.getType()) .content(notification.getContent()) .isRead(notification.isRead()) - .createdAt(DateUtils.passedTime(now, DateUtils.convertUtcToKst(notification.getCreatedAt()))) + .createdAt(DateUtils.passedTime(now, notification.getCreatedAt())) .build(); } }