From f40e284e5fe4604cc83b3e69ebfad606c00fa714 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 12 Sep 2017 23:00:43 +0200 Subject: [PATCH] test config ics --- build/service/CalendarExtractor.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/service/CalendarExtractor.php b/build/service/CalendarExtractor.php index ad206a2..5b4d7d5 100644 --- a/build/service/CalendarExtractor.php +++ b/build/service/CalendarExtractor.php @@ -286,10 +286,10 @@ ---------------------------------------------------------*/ foreach($events as $start_t=>$stop_t){ $RAW .= "BEGIN:VEVENT\n"; - $RAW .= "UID:$start_t\n"; // required - $RAW .= "DTSTAMP:$start_t\n"; // required - $RAW .= "DTSTART:$start_t\n"; - $RAW .= "DTEND:$stop_t\n"; + $RAW .= "UID:$start_t@example.com\n"; // required + $RAW .= "DTSTAMP:${start_t}Z\n"; // required + $RAW .= "DTSTART:${start_t}Z\n"; + $RAW .= "DTEND:${stop_t}Z\n"; $RAW .= "SUMMARY:$type\n"; $RAW .= "END:VEVENT\n\n"; }