summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2014-01-14 20:57:09 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2014-01-14 20:57:09 +0100
commitfdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd (patch)
tree3e13823b226be79821fd6a214a9ede11785178a3 /app/views
parentb342dfd7d37c71392fa2d82e186562d1af236aef (diff)
downloadkosten-fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd.tar.gz
kosten-fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd.tar.bz2
kosten-fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd.zip
D'oh
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