test config ics

This commit is contained in:
xdrm-brackets 2017-09-12 23:00:43 +02:00
parent 506ee7ea33
commit f40e284e5f
1 changed files with 4 additions and 4 deletions

View File

@ -286,10 +286,10 @@
---------------------------------------------------------*/ ---------------------------------------------------------*/
foreach($events as $start_t=>$stop_t){ foreach($events as $start_t=>$stop_t){
$RAW .= "BEGIN:VEVENT\n"; $RAW .= "BEGIN:VEVENT\n";
$RAW .= "UID:$start_t\n"; // required $RAW .= "UID:$start_t@example.com\n"; // required
$RAW .= "DTSTAMP:$start_t\n"; // required $RAW .= "DTSTAMP:${start_t}Z\n"; // required
$RAW .= "DTSTART:$start_t\n"; $RAW .= "DTSTART:${start_t}Z\n";
$RAW .= "DTEND:$stop_t\n"; $RAW .= "DTEND:${stop_t}Z\n";
$RAW .= "SUMMARY:$type\n"; $RAW .= "SUMMARY:$type\n";
$RAW .= "END:VEVENT\n\n"; $RAW .= "END:VEVENT\n\n";
} }