diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-01-14 20:57:09 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-01-14 20:57:09 +0100 |
commit | fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd (patch) | |
tree | 3e13823b226be79821fd6a214a9ede11785178a3 /app/views | |
parent | b342dfd7d37c71392fa2d82e186562d1af236aef (diff) | |
download | kosten-fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd.tar.gz kosten-fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd.tar.bz2 kosten-fdf321171a716ed10f4fb0cc1c00c6bf87c3f0fd.zip |
D'oh
Diffstat (limited to '')
-rw-r--r-- | app/views/consts.py | 2 |
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 |