actually I have to do it in views, not template
I need some pure python code

On Aug 18, 5:14 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Wiadomość napisana w dniu 2008-08-18, o godz. 13:08, przez Will Rocisky:
>
> > I have a datetime object '2008-15-06 11:12:13'
> > I want to display it like 'June 6, 2008 at 11:12'
>
> You have to format it using strftime() or in template using built-in  
> "date" filter. Seehttp://www.djangoproject.com/documentation/templates/#date
> --
> We read Knuth so you don't have to. - Tim Peters
>
> Jarek Zgoda
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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