rasmus Sun, 05 Feb 2012 10:35:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323077
Log: Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there is no way to know whether dst should be applied or not. Changed paths: U php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_localtime.phpt U php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_localtime.phpt U php/php-src/trunk/ext/intl/tests/dateformat_localtime.phpt Modified: php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_localtime.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_localtime.phpt 2012-02-05 10:29:34 UTC (rev 323076) +++ php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_localtime.phpt 2012-02-05 10:35:56 UTC (rev 323077) @@ -92,7 +92,7 @@ // Run the test ut_run(); ?> ---EXPECT-- +--EXPECTF-- ------------------------------- Input text is : Thursday, December 18, 1969 8:49:59 AM PST @@ -110,7 +110,7 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM -tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '1' , +tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '%d' , ------------ IntlDateFormatter : DateType::FULL, TimeType::FULL ------------------------------- @@ -130,4 +130,4 @@ ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM ------------ -IntlDateFormatter : DateType::FULL, TimeType::FULL \ No newline at end of file +IntlDateFormatter : DateType::FULL, TimeType::FULL Modified: php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_localtime.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_localtime.phpt 2012-02-05 10:29:34 UTC (rev 323076) +++ php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_localtime.phpt 2012-02-05 10:35:56 UTC (rev 323077) @@ -92,7 +92,7 @@ // Run the test ut_run(); ?> ---EXPECT-- +--EXPECTF-- ------------------------------- Input text is : Thursday, December 18, 1969 8:49:59 AM PST @@ -110,7 +110,7 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM -tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '1' , +tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '%d' , ------------ IntlDateFormatter : DateType::FULL, TimeType::FULL ------------------------------- @@ -130,4 +130,4 @@ ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM ------------ -IntlDateFormatter : DateType::FULL, TimeType::FULL \ No newline at end of file +IntlDateFormatter : DateType::FULL, TimeType::FULL Modified: php/php-src/trunk/ext/intl/tests/dateformat_localtime.phpt =================================================================== --- php/php-src/trunk/ext/intl/tests/dateformat_localtime.phpt 2012-02-05 10:29:34 UTC (rev 323076) +++ php/php-src/trunk/ext/intl/tests/dateformat_localtime.phpt 2012-02-05 10:35:56 UTC (rev 323077) @@ -92,7 +92,7 @@ // Run the test ut_run(); ?> ---EXPECT-- +--EXPECTF-- ------------------------------- Input text is : Thursday, December 18, 1969 8:49:59 AM PST @@ -110,7 +110,7 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM -tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '1' , +tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '%d' , ------------ IntlDateFormatter : DateType::FULL, TimeType::FULL ------------------------------- @@ -130,4 +130,4 @@ ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM ------------ -IntlDateFormatter : DateType::FULL, TimeType::FULL \ No newline at end of file +IntlDateFormatter : DateType::FULL, TimeType::FULL
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php