summaryrefslogtreecommitdiff
path: root/ext/date/tests/timestamp-in-dst.phpt
blob: bef18eec8db134ccfc925850bd53e0fc42719f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Format timestamp in DST test
--INI--
date.timezone=CEST
--FILE--
<?php
error_reporting(E_ALL & ~E_WARNING); // hide e_warning warning about timezones
var_dump( date_create( '@1202996091' )->format( 'c' ) );
?>
--EXPECT--
string(25) "2008-02-14T13:34:51+00:00"