From a06696126be57f40747e14a743d28c957f2ced59 Mon Sep 17 00:00:00 2001 From: clerie Date: Mon, 29 Jul 2024 18:53:28 +0200 Subject: [PATCH] Fix spacing in departures and describe platform number --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0355dfa..ae3a58d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -296,8 +296,8 @@ async fn route_station_to_dest_station( if stops_at_destination { out.push_str(&format!("
  • : ", departure_info.time, departure_time.format("%H:%M"))); out.push_str(&format!("", &departure.train.r#type, &departure.train.number, &departure.initial_departure, station_properties.code)); - out.push_str(&format!("{} ({} {})", &departure.train.name, &departure.train.r#type, &departure.train.number)); - out.push_str(&format!("[{}]-> {}\n", departure_info.platform, &departure.destination)); + out.push_str(&format!("{} ({} {}) ", &departure.train.name, &departure.train.r#type, &departure.train.number)); + out.push_str(&format!("[Gleis {}]-> {}\n", departure_info.platform, &departure.destination)); } }