Skip to content
Snippets Groups Projects
Commit 20b38de0 authored by Andreas Valder's avatar Andreas Valder
Browse files

closes #159

parent 9a1e3817
Branches
No related tags found
No related merge requests found
......@@ -8,7 +8,10 @@ def timetable():
kw=0
else:
kw=int(request.args['kw'])
try:
start = date.today() - timedelta(days=date.today().weekday() -7*kw)
except:
start = date.today() - timedelta(days=date.today().weekday())
days = [{'date': start, 'lectures': [], 'atonce':0, 'index': 0 }]
earlieststart=time(23,59)
latestend=time(0,0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment