Hi, I'm building a calendar for my site and in my template I need to evaluate whether the day is the first of the month. But I cannot do this, or it doesn't work as I expected:
{% if equal "1" day|date:"j" %}do something{% endifequal %} or {% if equal "01" day|date:"d" %}do something{% endifequal %} How can I find whether a day is the first of the month within my template? Thanks for any clues. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---