Skip to content
Snippets Groups Projects
Unverified Commit 96eb9885 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #1867 from OpenTechFund/fix/datetime-widget-placeholder-format-correction

Correct the datetime template placeholder to ISO standard date format.
parents 0d043685 4b6cebf7
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