From 9f5616173592fdedf93e18c0aad4a7c71432bfb3 Mon Sep 17 00:00:00 2001 From: yoojinche Date: Sat, 16 Aug 2025 15:17:02 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8Frefractor:=20startTime=20&=20?= =?UTF-8?q?endTime=20null=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../be/withtimebe/domain/date/converter/DateConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java b/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java index 56ad6a4..c677cd8 100644 --- a/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java +++ b/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java @@ -123,8 +123,8 @@ public static DateResponseDTO.DatePlace createDatePlace(DatePlace datePlace, .roadNameAddress(datePlace.getRoadNameAddress()) .lotNumberAddress(datePlace.getLotNumberAddress()) .placeType(datePlace.getPlaceType()) - .startTime(LocalTime.from(startTime)) - .endTime(LocalTime.from(endTime)) + .startTime(startTime != null ? LocalTime.from(startTime) : null) + .endTime(endTime != null ? LocalTime.from(endTime) : null) .signatureDish(toSignatureDish(datePlace.getItems() == null || datePlace.getItems().isEmpty() ? null : datePlace.getItems().get(0))) .placeCategoryResponseList(placeCategoryResponseList) .build();