1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Use UTC instead of unavailable timezone in test

This commit is contained in:
Craig Duncan
2016-11-20 16:40:37 +00:00
committed by Nikita Popov
parent 04534b0047
commit c31396f85e

View File

@@ -1,10 +1,9 @@
--TEST--
Format timestamp in DST test
--INI--
date.timezone=CEST
date.timezone=UTC
--FILE--
<?php
error_reporting(E_ALL & ~E_WARNING); // hide e_warning warning about timezones
var_dump( date_create( '@1202996091' )->format( 'c' ) );
?>
--EXPECT--