fix: incompleted changes from EVENT_WINDOW*

This commit is contained in:
2025-09-11 14:36:08 -06:00
parent b14b7fc3f2
commit be4784243f

View File

@@ -133,8 +133,8 @@ class ICSFetchService:
events = [] events = []
total_events = 0 total_events = 0
now = datetime.now(timezone.utc) now = datetime.now(timezone.utc)
window_start = now + timedelta(hours=EVENT_WINDOW_DELTA_START) window_start = now + EVENT_WINDOW_DELTA_START
window_end = now + timedelta(hours=EVENT_WINDOW_DELTA_END) window_end = now + EVENT_WINDOW_DELTA_END
for component in calendar.walk(): for component in calendar.walk():
if component.name != "VEVENT": if component.name != "VEVENT":