Compare commits
No commits in common. "a97004ddc730eab39ecead54ca75514e520ed61f" and "628925a0135220090acf7b7be7dc6f7da420f016" have entirely different histories.
a97004ddc7
...
628925a013
|
@ -1,11 +1,6 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
0.8.5
|
||||
-----
|
||||
|
||||
* Limit split_datetime_field time widget to minutes
|
||||
|
||||
0.8.4
|
||||
-----
|
||||
|
||||
|
|
|
@ -70,10 +70,10 @@ 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", "%H:%M:%S"),
|
||||
widget=forms.SplitDateTimeWidget(
|
||||
date_format='%Y-%m-%d',
|
||||
time_format='%H:%M',
|
||||
time_format='%H:%M:%S',
|
||||
time_attrs={'placeholder': '00:00'},
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue