Wiadomość napisana w dniu 2008-11-05, o godz. 15:28, przez Bobo:

> I’ve a question about the date format in Django.
> When I create a message for the users I enter the date in the
> database. But when I retrieve the date it come out like this: yyyy-mm-
> dd. I would like to make it like:
> dd mm yyyy and the month should be printed with the name of the month,
> like November so it would be:
> 05 November 2008
> I’ve search some sites about date format but can’t seem to find a
> solutions to my problem or if Django have a preinstalled function to
> modify the date format.

It seems you did not search The Site No. 1 - Django's own documentation.

Built-in filter date does what you want.

-- 
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R&D, Redefine
[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