Closed GoogleCodeExporter closed 8 years ago
You can achieve comparing consecutive array elements by using the 'for' loop:
{for $i in range(length($events) - 1)}
{if $events[$i].date == $events[$i + 1].date}
...
{/if}
{/for}
Original comment by kai.hu...@gmail.com
on 13 Nov 2009 at 11:07
Closing as WontFix since:
(a) the design of Closure Templates specifically disallows this in template
code.
(b) in this issue's comments, we provided a different way to achieve the
desired result.
Original comment by kai.hu...@gmail.com
on 14 Dec 2009 at 10:23
Original issue reported on code.google.com by
goo...@technicalmagic.co.uk
on 12 Nov 2009 at 10:41