On Mon, 12 Feb 2007 05:50:32 +, Patrick J. Anderson wrote:
> On Mon, 12 Feb 2007 15:32:07 +1100, Malcolm Tredinnick wrote:
>
>> On Mon, 2007-02-12 at 03:49 +, Patrick J. Anderson wrote:
>>> I think I might be missing something, but I have a problem with
>>> date filter. Why doesn't this
On Mon, 12 Feb 2007 15:32:07 +1100, Malcolm Tredinnick wrote:
> On Mon, 2007-02-12 at 03:49 +, Patrick J. Anderson wrote:
>> I think I might be missing something, but I have a problem with
>> date filter. Why doesn't this template code work?
>>
>> {% ifequal d|date:"l" "Sunday" %}
>>
On Mon, 2007-02-12 at 03:49 +, Patrick J. Anderson wrote:
> I think I might be missing something, but I have a problem with
> date filter. Why doesn't this template code work?
>
> {% ifequal d|date:"l" "Sunday" %}
>
> {% else %}
>
> {% endifequal %}
>
> {{ d|date:"l" }}
>
>
I think I might be missing something, but I have a problem with
date filter. Why doesn't this template code work?
{% ifequal d|date:"l" "Sunday" %}
{% else %}
{% endifequal %}
{{ d|date:"l" }}
But inside the HTML list item {{ d|date:"l" }} produces full weekday
names. Can and
4 matches
Mail list logo