#25758: Date filter doesn't use internationalization when USE_L10N is True
----------------------------+----------------------------------------------
Reporter: AliLozano | Owner: nobody
Type: Bug | Status: new
Component: Template | Version: 1.8
system |
Severity: Normal | Keywords: date,format,internationalization
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+----------------------------------------------
Date filter uses settings.DATE_FORMAT by default to format dates, and
ignore if django is using internationalization and USE_L10N is True
{{ user.date_joined|date }}
Always format with N j, Y
Maybe this is no a problem because date filter uses to use with a arg, but
naturalday filter(of humanize) uses date filter to format dates.
--
Ticket URL: <https://code.djangoproject.com/ticket/25758>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.55905705ce3dff59db15691a054888f4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.