From e847f4ff4f9d1668ed36a15f48dfcd55e845c7ce 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: Sat, 3 Jun 2023 01:09:06 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20::=20(#91)=20withNano=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20(#228)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 63d631b..87573bd 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().withNano(0), + sentAt = LocalDateTime.now(), isRead = false, userId = it, categoryId = category.id, @@ -78,7 +78,7 @@ class NotificationDetailApiImpl( Detail( title = category.title, content = content, - sentAt = LocalDateTime.now().withNano(0), + sentAt = LocalDateTime.now(), isRead = false, userId = userId, categoryId = category.id,