If I want to format the current datetime for an rss feed, I do:

{% now "r" %}

I want to format a date the same way coming from a DB in this format
"2009-11-18 08:00:00"

Is there a way to format it with that same "r" format from a template
level?

This clearly does not work ;)

{{ pick.date "r" }}

Thanks!

--

You received this message because you are subscribed to the Google Groups 
"Django users" 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 this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to