{# Code based on https://github.com/django/django/blob/4.2/django/contrib/admin/templates/admin/widgets/split_datetime.html #}

{{ date_label }} {% with widget=widget.subwidgets.0 %}{% include widget.template_name %}{% endwith %}
{{ time_label }} {% with widget=widget.subwidgets.1 %}{% include widget.template_name %}{% endwith %}
Infinity: {% with widget=widget.subwidgets.2 %}{% include widget.template_name %}{% endwith %}