From eb8d5414fe2560caea59238154f62a103f4c44dc Mon Sep 17 00:00:00 2001 From: soohyeon Date: Mon, 9 Sep 2024 20:21:49 +0900 Subject: [PATCH] refactor :: add yy --- .../kotlin/org/meogo/domain/post/service/QueryAllPostService.kt | 2 +- .../meogo/domain/review/service/QueryAllBySchoolIdService.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/meogo/domain/post/service/QueryAllPostService.kt b/src/main/kotlin/org/meogo/domain/post/service/QueryAllPostService.kt index 2dd5f57..85412c0 100644 --- a/src/main/kotlin/org/meogo/domain/post/service/QueryAllPostService.kt +++ b/src/main/kotlin/org/meogo/domain/post/service/QueryAllPostService.kt @@ -30,5 +30,5 @@ class QueryAllPostService( } private fun format(date: LocalDateTime) = - date.format(DateTimeFormatter.ofPattern("MM.dd HH:mm")) + date.format(DateTimeFormatter.ofPattern("yy.MM.dd HH:mm")) } diff --git a/src/main/kotlin/org/meogo/domain/review/service/QueryAllBySchoolIdService.kt b/src/main/kotlin/org/meogo/domain/review/service/QueryAllBySchoolIdService.kt index e1dcb67..8472c08 100644 --- a/src/main/kotlin/org/meogo/domain/review/service/QueryAllBySchoolIdService.kt +++ b/src/main/kotlin/org/meogo/domain/review/service/QueryAllBySchoolIdService.kt @@ -32,5 +32,5 @@ class QueryAllBySchoolIdService( } private fun format(date: LocalDateTime) = - date.format(DateTimeFormatter.ofPattern("MM.dd HH:mm")) + date.format(DateTimeFormatter.ofPattern("yy.MM.dd HH:mm")) }