Remove duplicated time format

This commit is contained in:
Ales (Shagi) Zabala Alava 2023-05-03 15:56:30 +02:00
parent 4d06b192f2
commit 78048d5bdb
1 changed files with 1 additions and 1 deletions

View File

@ -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',