projects
/
lp-csv-to-ics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
881159e
)
swap summary and description fields
author
Andrew Engelbrecht
<andrew@fsf.org>
Thu, 17 Mar 2022 23:46:50 +0000
(19:46 -0400)
committer
Andrew Engelbrecht
<andrew@fsf.org>
Thu, 17 Mar 2022 23:46:50 +0000
(19:46 -0400)
generate-ics
patch
|
blob
|
blame
|
history
diff --git
a/generate-ics
b/generate-ics
index a9858c046f16645b4217e90ee7b0362acfcf6b7b..41e285551ceb2b86d895486dbf7a08fd539a2538 100755
(executable)
--- a/
generate-ics
+++ b/
generate-ics
@@
-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]),
));