-
Notifications
You must be signed in to change notification settings - Fork 34
Add a calendar name to the ICS feed. #1912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -101,6 +101,8 @@ def get(self, request, *args, **kwargs): | |||||
| cal = icalendar.Calendar() | ||||||
| cal.add("prodid", "-//BornHack Website iCal Generator//bornhack.dk//") | ||||||
| cal.add("version", "2.0") | ||||||
| cal.add("NAME", "BornHack") | ||||||
| cal.add("X-WR-CALNAME", "BornHack") | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think not, but other conferences are doing it. Maybe we can try without the year.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was thinking if you have the bornhack ical thing added from 2025, and you then add the new one from 2026, having the same name for both of them would make it difficult to tell them apart (since we have different ical URLs per year) |
||||||
| for slot in event_slots: | ||||||
| cal.add_component(slot.get_ics_event()) | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.