ics spec (uid+dtstamp)

This commit is contained in:
xdrm-brackets 2017-09-12 22:57:50 +02:00
parent 6719ba1d13
commit 506ee7ea33
1 changed files with 2 additions and 0 deletions

View File

@ -286,6 +286,8 @@
---------------------------------------------------------*/
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 .= "SUMMARY:$type\n";