diff --git a/src/main/java/com/daon/onjung/core/utility/DateTimeUtil.java b/src/main/java/com/daon/onjung/core/utility/DateTimeUtil.java index f01a086..5cdcc24 100644 --- a/src/main/java/com/daon/onjung/core/utility/DateTimeUtil.java +++ b/src/main/java/com/daon/onjung/core/utility/DateTimeUtil.java @@ -29,6 +29,12 @@ public class DateTimeUtil { DateTimeFormatter.ofPattern("yyyyMMdd(E)"), DateTimeFormatter.ofPattern("yyyyMMdd (E)"), DateTimeFormatter.ofPattern("yyyyMMdd E"), + DateTimeFormatter.ofPattern("yyyyMMddHHmm"), + DateTimeFormatter.ofPattern("yyyyMMddHHmmss"), + DateTimeFormatter.ofPattern("yyyyMMdd HHmm"), + DateTimeFormatter.ofPattern("yyyyMMdd HHmmss"), + DateTimeFormatter.ofPattern("yyyyMMddHH:mm"), + DateTimeFormatter.ofPattern("yyyyMMddHH:mm:ss"), DateTimeFormatter.ofPattern("yyyy-MM-dd"), DateTimeFormatter.ofPattern("yyyy-M-d"), DateTimeFormatter.ofPattern("yyyy-MM-dd(E)"), diff --git a/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java b/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java index 040adb7..0b91918 100644 --- a/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java +++ b/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java @@ -101,7 +101,7 @@ public ReadOnjungEventOverviewResponseDto execute( DateTimeUtil.convertLocalDateTimeToSHORTKORString(receipt.getCreatedAt()), EOnjungType.fromString("RECEIPT"), EStatus.COMPLETED, - DateTimeUtil.convertLocalDateToDotSeparatedDateTime(receipt.getCreatedAt().toLocalDate()), + DateTimeUtil.convertLocalDateToDotSeparatedDateTime(receipt.getPaymentDate()), null, null, null