I'm trying to use now in an if like this: {% if value|date:"Ymd" == now "Ymd" %}
This is failing with: 'Unused '"Ymd"' at end of if expression.' If I quote it: {% if value|date:"Ymd" == 'now "Ymd"' %} I don't get the syntax error, but the if does not evaluate to true when the dates match. I need to see if the date in {{ value }} is `today' - how can I do that? -larry -- 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.