summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/views/consts.py2
1 files changed, 1 insertions, 1 deletions
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