From 6e238b2f523f9fec210aad716c266854cd1a9631 Mon Sep 17 00:00:00 2001 From: shagi Date: Fri, 1 Jul 2022 09:19:18 +0200 Subject: [PATCH] Use time input_type on split_datetime_field --- gas/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gas/forms.py b/gas/forms.py index 66f6fce..eb2e54c 100644 --- a/gas/forms.py +++ b/gas/forms.py @@ -78,4 +78,5 @@ def split_datetime_field(form, field_name): ), ) new_field.widget.widgets[0].input_type = 'date' + new_field.widget.widgets[1].input_type = 'time' form.fields[field_name] = new_field