Fix première semaine de l'année
This commit is contained in:
parent
0300fd3979
commit
001a0c1552
@ -226,7 +226,7 @@ def month_view(request, year=None, month=None):
|
||||
def week_view(request, year=None, week=None, home=False):
|
||||
now = date.today()
|
||||
if year is None:
|
||||
year = now.year
|
||||
year = now.isocalendar()[0]
|
||||
if week is None:
|
||||
week = now.isocalendar()[1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user