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:
> 
> <pubDate>{{ post.date|date:"D, d M Y H:i:s" }} GMT</pubDate>
> 
> and i18n just screws things up here. Is there any proper (not a hack)
> way of disabling it in this particular template?

No, because the date filter returns the localised date. If you want to
get a non-localised date, you'll need to write your own filter that
returns that.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to