On Tue, 2008-10-21 at 10:07 -0700, Armandas wrote:
> Hi,
>
> I am using internationalization on my project. Recently I found out
> that output from date filter is not in english. The point is, that I
> use this to construct pubDate for my rss, like this:
>
> {{ post.date|date:"D, d M Y H:i:s"
The answer to the Q in the subject would be not to use the {% trans .. %} or {%
load i18n %} tags in your template .. :)
Armandas wrote:
> Hi,
>
> I am using internationalization on my project. Recently I found out
> that output from date filter is not in english. The point is, that I
> use
Armandas,
Not exactly sure what you mean ... imho: when working properly your date should
be not formatted in your template but before that. When you are working with
locales for instance.
You might want to look at templatetags, then you can use {% your_own_tag %} and
have it build a
Hi,
I am using internationalization on my project. Recently I found out
that output from date filter is not in english. The point is, that I
use this to construct pubDate for my rss, like this:
{{ post.date|date:"D, d M Y H:i:s" }} GMT
and i18n just screws things up here. Is there any proper
4 matches
Mail list logo