Skip to content

Commit

Permalink
hotfix: city bus remaining time message
Browse files Browse the repository at this point in the history
  • Loading branch information
jcw1031 committed Apr 21, 2024
1 parent 4289ebc commit ecade19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ecade19

Please sign in to comment.