Commit 9129f4b0 authored by Robin Sonnabend's avatar Robin Sonnabend

Show time-format in update_protocol

/close #69
parent 42e8970d
......@@ -177,8 +177,8 @@ class NewProtocolFileUploadForm(FlaskForm):
class ProtocolForm(FlaskForm):
date = DateField("Datum (dd.mm.yyyy)", validators=[InputRequired("Bitte gib das Datum des Protkolls an.")], format="%d.%m.%Y")
start_time = DateTimeField("Beginn", format="%H:%M", validators=[Optional()])
end_time = DateTimeField("Ende", format="%H:%M", validators=[Optional()])
start_time = DateTimeField("Beginn (%H:%M)", format="%H:%M", validators=[Optional()])
end_time = DateTimeField("Ende (%H:%M)", format="%H:%M", validators=[Optional()])
location = StringField("Ort")
author = StringField("Protokoll")
participants = StringField("Anwesende")
......
  • wo wir schon dabei sind, bevor ich es vergesse: Protkolls -> Protokolls (179)

    zu deiner Änderung: wird alles nach der der Zahl nach dem ":" einfach ignoriert?

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment