From 3626d272a3f58227adb5defa294c670451595d2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org>
Date: Fri, 24 Jan 2025 19:06:35 +0100
Subject: [PATCH] pull calendars a year ahead

---
 calendar_utils/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calendar_utils/models.py b/calendar_utils/models.py
index 586e45a4..550f7239 100644
--- a/calendar_utils/models.py
+++ b/calendar_utils/models.py
@@ -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)
 
-- 
GitLab