Remove duplicated time format
This commit is contained in:
parent
4d06b192f2
commit
78048d5bdb
|
@ -70,7 +70,7 @@ def split_datetime_field(form, field_name):
|
||||||
localize=old_field.localize,
|
localize=old_field.localize,
|
||||||
disabled=old_field.disabled,
|
disabled=old_field.disabled,
|
||||||
input_date_formats=("%Y-%m-%d",),
|
input_date_formats=("%Y-%m-%d",),
|
||||||
input_time_formats=("%H:%M", "%H:%M"),
|
input_time_formats=("%H:%M",),
|
||||||
widget=forms.SplitDateTimeWidget(
|
widget=forms.SplitDateTimeWidget(
|
||||||
date_format='%Y-%m-%d',
|
date_format='%Y-%m-%d',
|
||||||
time_format='%H:%M',
|
time_format='%H:%M',
|
||||||
|
|
Loading…
Reference in New Issue