This commit is contained in:
philipp 2023-06-05 14:25:23 +02:00
parent 7614cab806
commit 5230762190

View File

@ -219,11 +219,7 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even
event.day.replace('-', ""), event.day.replace('-', ""),
event.planned_starting_time.replace(':', "") event.planned_starting_time.replace(':', "")
)); ));
res.push_str(&format!( res.push_str(&format!("\r\nDTSTAMP;TZID=Europe/Vienna:19900101T180000"));
"\r\nDTSTAMP;TZID=Europe/Vienna:{}T{}00",
event.day.replace('-', ""),
event.planned_starting_time.replace(':', "")
));
res.push_str(&format!("\r\nSUMMARY:{}", event.name)); res.push_str(&format!("\r\nSUMMARY:{}", event.name));
res.push_str("\r\nEND:VEVENT"); res.push_str("\r\nEND:VEVENT");
} }