#32735: Year is not zero padded in DateFormat for years earlier than 1000.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: Bug | Status: assigned
Component: Utilities | Version: dev
Severity: Normal | Keywords: date, year, 1000,
Triage Stage: | padding
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The `Y` specifier for `django.utils.dateformat.DateFormat` is supposed to
always return a four-digit year padded with zeros. This doesn't seem to be
the case for year < 1000.
--
Ticket URL: <https://code.djangoproject.com/ticket/32735>
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/050.946f22432749425220402c9f4fc061af%40djangoproject.com.