summaryrefslogtreecommitdiff
path: root/app/views/consts.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/consts.py')
-rw-r--r--app/views/consts.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/consts.py b/app/views/consts.py
index 66c8938..5d6598d 100644
--- a/app/views/consts.py
+++ b/app/views/consts.py
@@ -25,12 +25,10 @@ def one_year(d):
# Form
#
class ConstForm(F.Form):
- start = F.DateField('Beginn', F.req,
- format='%m.%Y',
+ start = F.MonthField('Beginn', F.req,
default=lambda: today())
- end = F.DateField('Ende', F.req,
- format='%m.%Y',
+ end = F.MonthField('Ende', F.req,
default=lambda: one_year(today()),
description='(einschließlich)')