use proper date format

This commit is contained in:
philipp 2023-05-24 15:14:26 +02:00
parent aa2d5bc7dd
commit 91512ecdfc

View File

@ -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));