diff --git a/judge/widgets/datetime.py b/judge/widgets/datetime.py index 5734698..d205e1c 100644 --- a/judge/widgets/datetime.py +++ b/judge/widgets/datetime.py @@ -2,7 +2,7 @@ from django import forms from django.templatetags.static import static from django.utils.html import format_html from django.forms.utils import flatatt -from django.utils.dateparse import parse_datetime +from django.utils.dateparse import parse_datetime, parse_date class DateTimePickerWidget(forms.DateTimeInput):