From 91512ecdfc1c14dbfea1e0d0267cf565b454e1fe Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 24 May 2023 15:14:26 +0200 Subject: [PATCH] use proper date format --- src/rest/cal.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rest/cal.rs b/src/rest/cal.rs index 5f5c6fc..21b3026 100644 --- a/src/rest/cal.rs +++ b/src/rest/cal.rs @@ -17,7 +17,8 @@ PRODID:-//rudernlinz.at//Trips//DE"#, res.push_str(&format!("\nUID:{}@rudernlinz.at", event.id)); res.push_str(&format!( "\nDTSTART:{}T{}Z", - event.day, event.planned_starting_time + event.day.replace("-", ""), + event.planned_starting_time )); res.push_str(&format!("\nSUMMARY:{}", event.name));