matches wrote:
> 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
> This clearly does not work ;)
>
> {{ pick.date "r" }}
Why the above will not work?
On Nov 21, 3:36 am, matches wrote:
> 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
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" }
3 matches
Mail list logo