Am 23.06.2010 um 11:21 schrieb Finn Gruwier Larsen: > This problem is still the same. > > If I have {{ object.published_on|date:"SHORT_DATE_FORMAT" }} in a template, > the output will always be in the format 06/10/2010 (month/day/year), no > matter what LANGUAGE_CODE is set to. According to the documentation the > output should be dependent on LANGUAGE_CODE.
Giving these settings (no LocaleMiddleware installed): USE_L10N = True USE_I18N = True LANGUAGE_CODE = 'da' a pub_date model field defined as: pub_date = models.DateTimeField() a template content: {{ product.pub_date|date:"SHORT_DATE_FORMAT" }} I get rendered: 15.06.2010 In other words, I'm not able to reproduce the issue you have. Can you provide a testcase derived from your code which demonstrates it? Thanks, Jannis -- You received this message because you are subscribed to the Google Groups "Django I18N" group. To post to this group, send email to django-i...@googlegroups.com. To unsubscribe from this group, send email to django-i18n+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-i18n?hl=en.