PHP Classes

File: libs/Twig/test/Twig/Tests/Fixtures/functions/date_namedargs.test

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/test/Twig/Tests/Fixtures/functions/date_namedargs.test   Download  
File: libs/Twig/test/Twig/Tests/Fixtures/functions/date_namedargs.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 347 bytes
 

Contents

Class file image Download
--TEST-- "date" function --TEMPLATE-- {{ date(date, "America/New_York")|date('d/m/Y H:i:s P', false) }} {{ date(timezone="America/New_York", date=date)|date('d/m/Y H:i:s P', false) }} --DATA-- date_default_timezone_set('UTC'); return array('date' => mktime(13, 45, 0, 10, 4, 2010)) --EXPECT-- 04/10/2010 09:45:00 -04:00 04/10/2010 09:45:00 -04:00