From fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 14 Jan 2014 20:57:09 +0100 Subject: D'oh --- app/views/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/consts.py b/app/views/consts.py index c8d9d99..27386e1 100644 --- a/app/views/consts.py +++ b/app/views/consts.py @@ -19,7 +19,7 @@ def one_year(d): if d.month == 1: return d.replace(month = 12) else: - return d.replace(month = (d.month + 11) % 12, year = d.year + 1) + return d.replace(month = d.month - 1, year = d.year + 1) # # Form -- cgit v1.2.3