diff --git a/calendrier/views.py b/calendrier/views.py index a5da1ae..ad124ac 100644 --- a/calendrier/views.py +++ b/calendrier/views.py @@ -45,7 +45,7 @@ def calendar(request, pYear, pMonth): lPreviousMonth = lMonth - 1 if lPreviousMonth == 0: lPreviousMonth = 12 - lPreviousYear - 1 + lPreviousYear -= 1 lNextYear = lYear lNextMonth = lMonth + 1 if lNextMonth == 13: