Fixed DateTimeZone support in date filter.
authorBenjamin Laugueux <benjamin@yzalis.com>
Fri, 25 May 2012 19:29:08 +0000 (21:29 +0200)
committerBenjamin Laugueux <benjamin@yzalis.com>
Tue, 29 May 2012 17:09:23 +0000 (19:09 +0200)
commitc53a02de1a1781c356a2620e722a3f0e20ed32fa
treeed5f9ac535fac8ea35adfb665a89c835a44614ec
parent573a36097146b319e5fb36546a0377c7440bbfe3
Fixed DateTimeZone support in date filter.

Prevents the DateTime object to be updated when changing the DateTimeZone.

Unit tests added.

Updated changelog.
CHANGELOG
lib/Twig/Extension/Core.php
test/Twig/Tests/Fixtures/filters/date.test