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:
committed by
Nikita Popov
parent
04534b0047
commit
c31396f85e
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user