swap summary and description fields
authorAndrew Engelbrecht <andrew@fsf.org>
Thu, 17 Mar 2022 23:46:50 +0000 (19:46 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Thu, 17 Mar 2022 23:46:50 +0000 (19:46 -0400)
generate-ics

index a9858c046f16645b4217e90ee7b0362acfcf6b7b..41e285551ceb2b86d895486dbf7a08fd539a2538 100755 (executable)
@@ -45,11 +45,11 @@ foreach ($csv as $linenum => $line) {
 
     // generate the event
     $ics = new ICS(array(
+        'summary' => $line[2],
+        'description' => $line[7] ? $line[7] : $line[2],
         'location' => $line[3],
-        'description' => $line[2],
         'dtstart' => $date . "T" . $start_time . "Z",
         'dtend' => $date . "T" . $end_time . "Z",
-        'summary' => $line[7] ? $line[7] : $line[2],
         'url' => str_replace("http:", "https:", $line[8]),
     ));