Skip to content
Snippets Groups Projects
Commit 3626d272 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

pull calendars a year ahead

parent bf820804
No related branches found
No related tags found
2 merge requests!1215pull calendars a year ahead,!1214pull calendars a year ahead
Pipeline #20554 passed
......@@ -76,7 +76,7 @@ class Calendar(models.Model):
event_list = icalevents.events(
url=self.url,
start=now() - timedelta(days=30),
end=now() + timedelta(days=60),
end=now() + timedelta(days=365), # Pull a year ahead due to "popular" demand.
)
self.handle_event_list(event_list)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment