diff --git a/src/rest/cal.rs b/src/rest/cal.rs index 21b3026..884263f 100644 --- a/src/rest/cal.rs +++ b/src/rest/cal.rs @@ -16,9 +16,9 @@ PRODID:-//rudernlinz.at//Trips//DE"#, res.push_str("\nBEGIN:VEVENT"); res.push_str(&format!("\nUID:{}@rudernlinz.at", event.id)); res.push_str(&format!( - "\nDTSTART:{}T{}Z", + "\nDTSTART:{}T{}00Z", event.day.replace("-", ""), - event.planned_starting_time + event.planned_starting_time.replace(":", "") )); res.push_str(&format!("\nSUMMARY:{}", event.name));