From 2530d6343d19089458f6bf9ad6c3679e768e8fb5 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 5 Jun 2023 13:21:41 +0200 Subject: [PATCH] add dtstamp --- src/model/planned_event.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/model/planned_event.rs b/src/model/planned_event.rs index 0de77ff..4a73912 100644 --- a/src/model/planned_event.rs +++ b/src/model/planned_event.rs @@ -242,6 +242,11 @@ END:VTIMEZONE"#, event.day.replace('-', ""), event.planned_starting_time.replace(':', "") )); + res.push_str(&format!( + "\nDTSTAMP;TZID=Europe/Vienna:{}T{}00", + event.day.replace('-', ""), + event.planned_starting_time.replace(':', "") + )); res.push_str(&format!("\nSUMMARY:{}", event.name)); res.push_str("\nEND:VEVENT");