Skip to content

Commit

Permalink
feat: add refresh interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Ballier committed Oct 30, 2023
1 parent 9d1b992 commit fc40da8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/calendar_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ def get_calendar_text(self, username: str, password: str, team_id: str | None =
cal.add("x-wr-calname", "SportEasy Calendar")
cal.add("x-wr-timezone", "Europe/Paris")
cal.add("x-wr-caldesc", "SportEasy calendar as ics")
cal.add("REFRESH-INTERVAL;VALUE=DURATION", "PT8H")
cal.add("X-PUBLISHED-TTL", "PT8H")

for current_team_id, team_name in teams:
# Ignore other teams
Expand Down

0 comments on commit fc40da8

Please sign in to comment.