Commit 780ebe46 authored by fred's avatar fred
Browse files

grid: cut grid at 3am

parent 5ae7481d
......@@ -135,6 +135,10 @@ class Grid(TemplateView):
except IndexError:
pass
# cut night at 3am
grid = grid[:42]
times = times[:42]
context['grid'] = grid
context['times'] = times
context['weekdays'] = ['Lundi', 'Mardi', 'Mercredi', 'Jeudi',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment