com php-src: make sure the tests always uses same tz: ext/date/tests/bug71525.phpt
| From: | Anatol Belski | Date: | Mon, 15 Feb 2016 07:38:55 +0000 |
| Subject: | com php-src: make sure the tests always uses same tz: ext/date/tests/bug71525.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91047@lists.php.net to get a copy of this message | ||
Commit: 53639c44df0959f7331373eecf2790842ad76399
Author: Anatol Belski <ab@php.net> Mon, 15 Feb 2016 08:38:17 +0100
Parents: afe0ddf6dd21bcf9732181a0b27188e7adb6756f
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=53639c44df0959f7331373eecf2790842ad76399
Log:
make sure the tests always uses same tz
Changed paths:
M ext/date/tests/bug71525.phpt
Diff:
diff --git a/ext/date/tests/bug71525.phpt b/ext/date/tests/bug71525.phpt
index dadf926..d0c99e4 100644
--- a/ext/date/tests/bug71525.phpt
+++ b/ext/date/tests/bug71525.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #71525 (Calls to date_modify will mutate timelib_rel_time, causing date_date_set issues)
+--INI--
+date.timezone=UTC
--FILE--
<?php
$date = new DateTime('2011-12-25 00:00:00');