#33113: Add example to documentation of a DateInput with input_type='date'
--------------------------------------+------------------------------------
Reporter: dvg | Owner: dvg
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Claude Paroz):
#33165 is a typical issue showing the difficulty of the `date` input. So
the simple widget subclass with `input_type = 'date'` is NOT sufficient to
make it work properly. The initial input value must also be converted to
the `YYYY-MM-DD` format to comply with the [https://developer.mozilla.org
/en-US/docs/Web/HTML/Element/input/date specs].
--
Ticket URL: <https://code.djangoproject.com/ticket/33113#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.8c41d3a0e5a9bad7a3851bfe26317b38%40djangoproject.com.