From c2035df4d99020944c7fcefbe72414628519c72f Mon Sep 17 00:00:00 2001 From: Ollo Date: Fri, 22 Sep 2023 22:43:55 +0200 Subject: [PATCH] Removed plus --- client/bin/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/bin/src/main.rs b/client/bin/src/main.rs index ce0c5c7..dbc84dd 100644 --- a/client/bin/src/main.rs +++ b/client/bin/src/main.rs @@ -261,7 +261,7 @@ fn send_package(ipaddress: String, if straba_res.failure == false { let text_style = MonoTextStyle::new(&FONT_6X10, BinaryColor::On); let text_style_station = MonoTextStyle::new(&FONT_5X8, BinaryColor::On); - let mut outbound = format!("+{}min", (straba_res.outbound_diff / 60)); + let mut outbound = format!("{}min", (straba_res.outbound_diff / 60)); if straba_res.outbound_diff < 60 { outbound = String::from("sofort"); } @@ -272,7 +272,7 @@ fn send_package(ipaddress: String, .draw(&mut display) .unwrap(); - let mut inbound = format!("+{}min", (straba_res.inbound_diff / 60)); + let mut inbound = format!("{}min", (straba_res.inbound_diff / 60)); if straba_res.inbound_diff < 60 { inbound = String::from("sofort"); }