com php-src: fix the test according to how new date code does it: ext/intl/tests/dateformat_format.phpt

From: Date: Sun, 06 Apr 2014 03:09:53 +0000
Subject: com php-src: fix the test according to how new date code does it: ext/intl/tests/dateformat_format.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76713@lists.php.net to get a copy of this message
Commit: ee1b807219cb642e36b6813b4cbc6af686aba537 Author: Stanislav Malyshev <stas@php.net> Sat, 5 Apr 2014 20:09:53 -0700 Parents: 8b0d133b1396de4ddcfd86076a0a63ebc25c5396 Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ee1b807219cb642e36b6813b4cbc6af686aba537 Log: fix the test according to how new date code does it Changed paths: M ext/intl/tests/dateformat_format.phpt Diff: diff --git a/ext/intl/tests/dateformat_format.phpt b/ext/intl/tests/dateformat_format.phpt index c3f6c29..8b41087 100644 --- a/ext/intl/tests/dateformat_format.phpt +++ b/ext/intl/tests/dateformat_format.phpt @@ -359,40 +359,40 @@ Formatted DateTime is : 20091231 03:02 PM ------------ Date is: DateTime::__set_state(array( 'date' => '2000-12-30 19:04:05', - 'timezone_type' => 3, - 'timezone' => 'America/Los_Angeles', + 'timezone_type' => 2, + 'timezone' => 'PDT', )) ------------ Formatted DateTime is : Saturday, December 30, 2000 5:04:05 PM GMT-10:00 ------------ Date is: DateTime::__set_state(array( 'date' => '2000-12-30 19:04:05', - 'timezone_type' => 3, - 'timezone' => 'America/Los_Angeles', + 'timezone_type' => 2, + 'timezone' => 'PDT', )) ------------ Formatted DateTime is : December 30, 2000 5:04:05 PM GMT-10:00 ------------ Date is: DateTime::__set_state(array( 'date' => '2000-12-30 19:04:05', - 'timezone_type' => 3, - 'timezone' => 'America/Los_Angeles', + 'timezone_type' => 2, + 'timezone' => 'PDT', )) ------------ Formatted DateTime is : Dec 30, 2000 5:04:05 PM ------------ Date is: DateTime::__set_state(array( 'date' => '2000-12-30 19:04:05', - 'timezone_type' => 3, - 'timezone' => 'America/Los_Angeles', + 'timezone_type' => 2, + 'timezone' => 'PDT', )) ------------ Formatted DateTime is : 12/30/00 5:04 PM ------------ Date is: DateTime::__set_state(array( 'date' => '2000-12-30 19:04:05', - 'timezone_type' => 3, - 'timezone' => 'America/Los_Angeles', + 'timezone_type' => 2, + 'timezone' => 'PDT', )) ------------ Formatted DateTime is : 20001230 05:04 PM

« previous php.cvs (#76713) next »