From ccb198c0f02fad3b6542c7ad2f112f18551a5fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A3=BC=EC=98=81?= <103026521+jyk1029@users.noreply.github.com> Date: Thu, 1 Jun 2023 22:59:37 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20::=20(#77)=20millisecond=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20(#226)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ♻️ :: millisecond 삭제 * ♻️ :: DB 저장할 때 millisecond 삭제 --- .../detail/service/NotificationDetailApiImpl.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notification-domain/src/main/kotlin/io/github/v1servicenotification/detail/service/NotificationDetailApiImpl.kt b/notification-domain/src/main/kotlin/io/github/v1servicenotification/detail/service/NotificationDetailApiImpl.kt index 87573bd..63d631b 100644 --- a/notification-domain/src/main/kotlin/io/github/v1servicenotification/detail/service/NotificationDetailApiImpl.kt +++ b/notification-domain/src/main/kotlin/io/github/v1servicenotification/detail/service/NotificationDetailApiImpl.kt @@ -49,7 +49,7 @@ class NotificationDetailApiImpl( Detail( title = category.title, content = content, - sentAt = LocalDateTime.now(), + sentAt = LocalDateTime.now().withNano(0), isRead = false, userId = it, categoryId = category.id, @@ -78,7 +78,7 @@ class NotificationDetailApiImpl( Detail( title = category.title, content = content, - sentAt = LocalDateTime.now(), + sentAt = LocalDateTime.now().withNano(0), isRead = false, userId = userId, categoryId = category.id,