#18932: Buildin template tags seem to break i18n
-------------------------------------+-------------------------------------
Reporter: houmie | Owner: nobody
Type: New feature | Status: new
Component: | Version:
Internationalization | Resolution:
Severity: Normal | Triage Stage:
Keywords: i18n | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by claudep):
It is known that I'm sometimes slow to understand :-) I still don't get
where the problem is.
Either:
1. You want to hardcode the format in templates: use a format string
(|date:"Y-m-d")
1. You want to hardcode the format from settings (project-dependent): use
the raw filter (|date)
1. You want the format depending on the language; use a predefined format
(|date:"DATE_FORMAT")
Please tell me what I missed here.
--
Ticket URL: <https://code.djangoproject.com/ticket/18932#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.