From 78048d5bdbdaed2addc5409a1844dd9f409948b4 Mon Sep 17 00:00:00 2001 From: shagi Date: Wed, 3 May 2023 15:56:30 +0200 Subject: [PATCH] Remove duplicated time format --- gas/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/forms.py b/gas/forms.py index d509c27..141872e 100644 --- a/gas/forms.py +++ b/gas/forms.py @@ -70,7 +70,7 @@ def split_datetime_field(form, field_name): localize=old_field.localize, disabled=old_field.disabled, input_date_formats=("%Y-%m-%d",), - input_time_formats=("%H:%M", "%H:%M"), + input_time_formats=("%H:%M",), widget=forms.SplitDateTimeWidget( date_format='%Y-%m-%d', time_format='%H:%M',