mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
ec5157fe01
timezone.
12 lines
255 B
PHP
12 lines
255 B
PHP
--TEST--
|
|
Format timestamp in DST test
|
|
--INI--
|
|
date.timezone=CEST
|
|
--FILE--
|
|
<?php
|
|
error_reporting(E_ALL); // hide e_strict warning about timezones
|
|
var_dump( date_create( '@1202996091' )->format( 'c' ) );
|
|
?>
|
|
--EXPECT--
|
|
string(25) "2008-02-14T13:34:51+00:00"
|