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")) }