com php-src: Use UTC instead of unavailable timezone in test: ext/date/tests/timestamp-in-dst.phpt
| From: | Nikita Popov | Date: | Tue, 22 Nov 2016 18:29:49 +0000 |
| Subject: | com php-src: Use UTC instead of unavailable timezone in test: ext/date/tests/timestamp-in-dst.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95993@lists.php.net to get a copy of this message | ||
Commit: c31396f85ea2c986bb2d828a8321b73d778000dc
Author: Craig Duncan <git@duncanc.co.uk> Sun, 20 Nov 2016 16:40:37 +0000
Committer: Nikita Popov <nikic@php.net> Tue, 22 Nov 2016 19:29:49 +0100
Parents: 04534b0047819dab067eb09c56c68879608f00cd
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c31396f85ea2c986bb2d828a8321b73d778000dc
Log:
Use UTC instead of unavailable timezone in test
Changed paths:
M ext/date/tests/timestamp-in-dst.phpt
Diff:
diff --git a/ext/date/tests/timestamp-in-dst.phpt b/ext/date/tests/timestamp-in-dst.phpt
index bef18ee..79ca0a6 100644
--- a/ext/date/tests/timestamp-in-dst.phpt
+++ b/ext/date/tests/timestamp-in-dst.phpt
@@ -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--