Commit ca785567 authored by fred's avatar fred
Browse files

force week view to display Monday by default (#1137)

parent fee7aacc
......@@ -152,7 +152,7 @@ def weekview(year=None, week=None):
def weeknav(year=None, week=None, weekday=None):
year = year if year else[0]
week = week if week else[1]
weekday = weekday if weekday else
weekday = weekday if weekday is not None else
date = utils.tofirstdayinisoweek(year, week)
date = datetime(*date.timetuple()[:3])
......@@ -16,7 +16,7 @@
Du {{week_first_day|date:"l j N"}} au {{week_last_day|date:"l j N"}}
{% weeknav year=year week=week %}
{% weeknav year=year week=week weekday=0 %}
<div class="wrapper">
<div class="program">
Supports Markdown
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