From: Fabien Potencier Date: Tue, 14 Oct 2014 17:06:56 +0000 (+0200) Subject: added some failing tests X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=083313abb4e835ba1b1769b5be81610b4cf3cfe9;p=web%2Fkonrad%2Ftwig.git added some failing tests --- diff --git a/test/Twig/Tests/Fixtures/filters/date.test b/test/Twig/Tests/Fixtures/filters/date.test index 0bfaa27..d17e5e2 100644 --- a/test/Twig/Tests/Fixtures/filters/date.test +++ b/test/Twig/Tests/Fixtures/filters/date.test @@ -35,6 +35,9 @@ {{ date7|date(timezone='Asia/Hong_Kong') }} {{ date7|date(timezone=false) }} {{ date7|date(timezone='Indian/Mauritius') }} + +{{ '2010-01-28 15:00:00'|date(timezone="Europe/Paris") }} +{{ '2010-01-28 15:00:00'|date(timezone="Asia/Hong_Kong") }} --DATA-- date_default_timezone_set('Europe/Paris'); return array( @@ -82,3 +85,6 @@ January 28, 2010 12:00 January 28, 2010 19:00 January 28, 2010 15:00 January 28, 2010 15:00 + +January 28, 2010 15:00 +January 28, 2010 22:00