You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using a models.TimeField() and configuring the widget to something like DateTimePicker(options={"format":"HH:mm", "pickDate":False}). Should work.
It does for new objects form, but it does not work for editing an object. It tries to convert the object value to a datetime value, and obviously, that's not possible.
I think this should include some kind of check about if the value is_instance of datetime or time, to make it work in both cases.
The text was updated successfully, but these errors were encountered:
If you're using a models.TimeField() and configuring the widget to something like DateTimePicker(options={"format":"HH:mm", "pickDate":False}). Should work.
It does for new objects form, but it does not work for editing an object. It tries to convert the object value to a datetime value, and obviously, that's not possible.
I think this should include some kind of check about if the value is_instance of datetime or time, to make it work in both cases.
The text was updated successfully, but these errors were encountered: