throw new Exception("Invalid times when hackishly converting to UTC: " . $start_time . " - " . $end_time);
}
+ // add speaker name to description if available, also use full description if available
+ $description = ($line[5] ? ($line[5] . " - ") : "") . ($line[7] ? $line[7] : $line[2]);
+
// generate the event
$ics = new ICS(array(
'summary' => $line[2],
- 'description' => $line[7] ? $line[7] : $line[2],
+ 'description' => $description,
'location' => $line[3] ? $line[3] : "Anywhere",
'dtstart' => $date . "T" . $start_time . "Z",
'dtend' => $date . "T" . $end_time . "Z",