I guess you are making an mistake. It have to be something like this: {% now "jS F Y H:i" %}
You can take a look at the table with the custom datefilters: http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#date ;) Hope it help! " *O relógio da vida recebe corda apenas uma vez.* *Ninguém tem o poder de decidir quando os ponteiros pararão, se mais cedo ou se mais tarde.* *O presente é o único tempo que você possui.* *Viva, ame e trabalhe com vontade.* *Não ponha nenhuma esperança no tempo, pois o relógio pode parar a qualquer momento.* " Fred Chevitarese - GNU/Linux http://chevitarese.wordpress.com 2011/2/9 creecode <creec...@gmail.com> > Hello all, > > I'm trying to use the now template tag < > http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#now > > with the predefined format DATE_FORMAT and the now tag seems to be > processing the predefined format as a custom format. > > I tried... > > {% now "DATE_FORMAT" %} > > ...and get back... > > WedAMPSTEPST0FebE_February-0800RFebAMPST > > Any thoughts on what I'm doing wrong? > > I'm using Django 1.2.x, have USE_I18N and USE_L10N set to True, and > LANGUAGE_CODE is 'en-us' in settings.py. > > Toodle-loooooooo > creecode > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.