From cd149f1052b0f9d126a02e1d1ab4797f8f8cf9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 5 Jan 2018 15:13:13 +0100 Subject: [PATCH] Fix typo in "previous year" on the calendar --- calendrier/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: