added a slice filter

This commit is contained in:
Fabien Potencier
2012-01-14 08:48:59 +01:00
parent a4e1151d43
commit d9dc813dfd
5 changed files with 132 additions and 4 deletions
+2
View File
@@ -1,5 +1,7 @@
* 1.6.0-DEV
* added slice notation support for the [] operator (syntactic sugar for the slice operator)
* added a slice filter
* added string support for the reverse filter
* fixed the empty test and the length filter for Twig_Markup instances
* added a date function to ease date comparison