4👍
solved,
for it to work, appropriate format need to set: 2021-07-01T01:00 or 2021-01-01T01:00:00.
'time_end': forms.DateTimeInput(format=('%Y-%m-%dT%H:%M'), attrs={'type': 'datetime-local'})
Source:stackexchange.com
4👍
solved,
for it to work, appropriate format need to set: 2021-07-01T01:00 or 2021-01-01T01:00:00.
'time_end': forms.DateTimeInput(format=('%Y-%m-%dT%H:%M'), attrs={'type': 'datetime-local'})