From 3c24e730d9fea1edd5b435fff40eb8f2b82bb840 Mon Sep 17 00:00:00 2001 From: NarenderRajuB Date: Thu, 19 Sep 2024 09:53:13 +0100 Subject: [PATCH] update correct time format --- app/blueprints/fund_builder/forms/round.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/blueprints/fund_builder/forms/round.py b/app/blueprints/fund_builder/forms/round.py index b7f15d91..1afbfebf 100644 --- a/app/blueprints/fund_builder/forms/round.py +++ b/app/blueprints/fund_builder/forms/round.py @@ -19,15 +19,15 @@ class RoundForm(FlaskForm): description="Choose a unique short name with 6 or fewer characters", validators=[DataRequired(), Length(max=6)], ) - opens = DateTimeField("Opens", description="Enter date in dd-mm-yyyy hh:mi format", + opens = DateTimeField("Opens", description="Enter date in dd-mm-yyyy hh:mm format", format="%d-%m-%Y %H:%M", validators=[DataRequired()]) - deadline = DateTimeField("Deadline", description="Enter date in dd-mm-yyyy hh:mi format", + deadline = DateTimeField("Deadline", description="Enter date in dd-mm-yyyy hh:mm format", format="%d-%m-%Y %H:%M", validators=[DataRequired()]) - assessment_start = DateTimeField("Assessment Start", description="Enter date in dd-mm-yyyy hh:mi format", + assessment_start = DateTimeField("Assessment Start", description="Enter date in dd-mm-yyyy hh:mm format", format="%d-%m-%Y %H:%M", validators=[DataRequired()]) - reminder_date = DateTimeField("Reminder Date", description="Enter date in dd-mm-yyyy hh:mi format", + reminder_date = DateTimeField("Reminder Date", description="Enter date in dd-mm-yyyy hh:mm format", format="%d-%m-%Y %H:%M", validators=[DataRequired()]) - assessment_deadline = DateTimeField("Assessment Deadline", description="Enter date in dd-mm-yyyy hh:mi format", + assessment_deadline = DateTimeField("Assessment Deadline", description="Enter date in dd-mm-yyyy hh:mm format", format="%d-%m-%Y %H:%M", validators=[DataRequired()]) prospectus_link = URLField("Prospectus Link", validators=[DataRequired(), URL()]) privacy_notice_link = URLField("Privacy Notice Link", validators=[DataRequired(), URL()])