Skip to content

Commit

Permalink
Fix broken iCalendar title
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Aug 4, 2024
1 parent a60de04 commit 5808337
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hebcal-download.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export async function hebcalDownload(ctx) {
}
if (ics) {
const icalOpt = makeIcalOpts(options, query);
if (!icalOpt.title) {
icalOpt.title = getCalendarTitle(events, icalOpt);
}
if (!icalOpt.calendarColor) {
icalOpt.calendarColor = '#800002';
}
Expand Down

0 comments on commit 5808337

Please sign in to comment.