From ecade197cf198dc4aaf7f2e852755977040fa3d4 Mon Sep 17 00:00:00 2001 From: jcw1031 Date: Sun, 21 Apr 2024 22:03:23 +0900 Subject: [PATCH] hotfix: city bus remaining time message --- src/main/java/ac/knu/likeknu/controller/MainController.java | 2 +- .../knu/likeknu/controller/dto/citybus/MainCityBusResponse.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ac/knu/likeknu/controller/MainController.java b/src/main/java/ac/knu/likeknu/controller/MainController.java index 43c8223..f92a54e 100644 --- a/src/main/java/ac/knu/likeknu/controller/MainController.java +++ b/src/main/java/ac/knu/likeknu/controller/MainController.java @@ -1,7 +1,7 @@ package ac.knu.likeknu.controller; -import ac.knu.likeknu.controller.dto.base.ResponseDto; import ac.knu.likeknu.controller.dto.announcement.MainAnnouncementsResponse; +import ac.knu.likeknu.controller.dto.base.ResponseDto; import ac.knu.likeknu.controller.dto.citybus.MainCityBusResponse; import ac.knu.likeknu.controller.dto.menu.MainMenuResponse; import ac.knu.likeknu.controller.dto.schedule.MainScheduleResponse; diff --git a/src/main/java/ac/knu/likeknu/controller/dto/citybus/MainCityBusResponse.java b/src/main/java/ac/knu/likeknu/controller/dto/citybus/MainCityBusResponse.java index ad371ff..ea503de 100644 --- a/src/main/java/ac/knu/likeknu/controller/dto/citybus/MainCityBusResponse.java +++ b/src/main/java/ac/knu/likeknu/controller/dto/citybus/MainCityBusResponse.java @@ -29,7 +29,7 @@ public static MainCityBusResponse of(Route route, CityBus cityBus) { .origin(route.getOrigin()) .destination(route.getDestination()) .busNumber(cityBus.getBusNumber()) - .remainingTime(remainingTime <= 1 ? "곧 도착" : remainingTime + "분 뒤") + .remainingTime(remainingTime <= 1 ? "곧 도착" : remainingTime + "분") .arrivalTime(earliestArrivalTime.format(dateTimeFormatter)) .busColor(cityBus.getBusColor()) .build();