Skip to content

Commit

Permalink
iCal now returns end times 10 minutes before the actual end time
Browse files Browse the repository at this point in the history
  • Loading branch information
novanai committed Sep 13, 2024
1 parent 661c197 commit 8d2bed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timetable/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def generate_ical_file(events: list[models.Event]) -> bytes:
event.add("UID", item.original_event.identity)
event.add("LAST-MODIFIED", item.original_event.last_modified)
event.add("DTSTART", item.original_event.start)
event.add("DTEND", item.original_event.end)
event.add("DTEND", item.original_event.end - datetime.timedelta(minutes=10))
event.add("SUMMARY", item.summary_long)
event.add("DESCRIPTION", item.description)
event.add("LOCATION", item.location_long)
Expand Down

0 comments on commit 8d2bed4

Please sign in to comment.