#30819: Locales that are by default set to use two digits year will show invalid
year on date picker UI
--------------------------------------------+----------------------------
Reporter: Aldian Fazrihady | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Keywords: datepicker
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
--------------------------------------------+----------------------------
I am using `id` locale. Somehow, on that locale, the django admin uses two
digits year to be displayed in input fields.
The datepicker UI will display this wrong year:
[[Image(https://drive.google.com/file/d/17KEkY89TqimwJIJ0kz-
b2IJpYETpd46g/view?usp=sharing)]]
Instead of showing year 2019, it shows year 1919.
My workaround for this problem is to use 4 digits year for that locale by
configuring FORMATE_MODULE_PATH.
However, it is quite clear that there is a bug in the datepicker display.
--
Ticket URL: <https://code.djangoproject.com/ticket/30819>
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/049.787e805031afd07b745b3a71569e91af%40djangoproject.com.