forked from Ruderverein-Donau-Linz/rowt
		
	push
This commit is contained in:
		| @@ -2,7 +2,7 @@ use std::io::Write; | ||||
|  | ||||
| use chrono::NaiveDate; | ||||
| use ics::{ | ||||
|     properties::{DtStart, Summary}, | ||||
|     properties::{DtStart, Duration, Summary}, | ||||
|     Event, ICalendar, | ||||
| }; | ||||
| use serde::Serialize; | ||||
| @@ -224,6 +224,7 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even | ||||
|                 event.planned_starting_time.replace(':', "") | ||||
|             ))); | ||||
|             vevent.push(Summary::new(event.name)); | ||||
|             vevent.push(Duration::new("PT3H")); | ||||
|             calendar.add_event(vevent); | ||||
|         } | ||||
|         let mut buf = Vec::new(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user