com php-src: Try to fix test: ext/intl/tests/bug75378.phpt

From: Date: Tue, 17 Oct 2017 03:35:40 +0000
Subject: com php-src: Try to fix test: ext/intl/tests/bug75378.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99771@lists.php.net to get a copy of this message
Commit: 2f73f2436a968833d06067ad5fd1d2f17e0927b5 Author: Xinchen Hui <laruence@gmail.com> Tue, 17 Oct 2017 11:35:40 +0800 Parents: 77ad860bf029b7c44f94030a939e332e45cdf934 Branches: PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2f73f2436a968833d06067ad5fd1d2f17e0927b5 Log: Try to fix test Changed paths: M ext/intl/tests/bug75378.phpt Diff: diff --git a/ext/intl/tests/bug75378.phpt b/ext/intl/tests/bug75378.phpt index c79e7f6..c3909ce 100644 --- a/ext/intl/tests/bug75378.phpt +++ b/ext/intl/tests/bug75378.phpt @@ -11,7 +11,7 @@ $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFor $position = 0; $parsedDate = $formatter->parse("2017-10-12", $position); var_dump($parsedDate, $position); -$localdate = $formatter->localtime("2017-10-12", $position1); +$localdate = $formatter->localtime("2017-10-12 00:00:00", $position1); var_dump($localdate, $position1); ?> --EXPECT--

« previous php.cvs (#99771) next »