From 72563e5ceda1fae1bd3e665d08c47086a57c7f4a Mon Sep 17 00:00:00 2001 From: Dirk Sarpe <dsarpe@posteo.de> Date: Mon, 24 Jul 2017 13:18:36 +0200 Subject: [PATCH] show events from a shorter time period the 52 weeks was for testing we want about 2 weeks --- event_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event_display.py b/event_display.py index 144207a..f430bd0 100644 --- a/event_display.py +++ b/event_display.py @@ -12,7 +12,7 @@ import os url = 'https://portal.idiv.de/ssf/ical/basic.ics?bi=393&ui=1026&pd=171497477d81eb659bd832ffe26c8bfe39d65fc3&v=1' tz = 'Europe/Berlin' now = arrow.now(tz) -period = (now.floor('day'), now.replace(weeks=+52)) +period = (now.floor('day'), now.replace(weeks=+2)) c = Calendar(requests.get(url).text) -- GitLab