Skip to content
Snippets Groups Projects
Commit 72563e5c authored by Dirk Sarpe's avatar Dirk Sarpe
Browse files

show events from a shorter time period

the 52 weeks was for testing
we want about 2 weeks
parent ccfed7a2
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment