Skip to content

Commit

Permalink
fix: Add calname to ICS export (#7466)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal authored Nov 25, 2020
1 parent abeb343 commit 707f160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/api/helpers/calendar/ical.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
def to_ical(event, include_sessions=False):
cal = Calendar()
cal.add('version', '2.0')
cal.add('METHOD', 'PUBLISH')
cal.add('X-WR-CALNAME', event.name)
cal.add('X-WR-CALDESC', 'Event Calendar')

event_component = Event()
event_component.add('uid', event.identifier)
Expand Down

0 comments on commit 707f160

Please sign in to comment.