Skip to content
Snippets Groups Projects
Commit 4b6cebf7 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Correct the datetime template placeholder to ISO standard date format.

parent 0d043685
No related branches found
No related tags found
No related merge requests found
<input type="datetime-local" placeholder="dd/mm/yyyy hh:mm" name="{{ widget.name }}"{% if widget.value != None %} value="{{ widget.value|stringformat:'s' }}"{% endif %}{% include "django/forms/widgets/attrs.html" %} />
<input type="datetime-local" placeholder="yyyy-mm-dd hh:mm" name="{{ widget.name }}"{% if widget.value != None %} value="{{ widget.value|stringformat:'s' }}"{% endif %}{% include "django/forms/widgets/attrs.html" %} />
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment