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"; }