rasmus Sun, 05 Feb 2012 10:29:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323076
Log: Without a timezone you can't know whether it is dst or not in this one Changed paths: U php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt U php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt U php/php-src/trunk/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt Modified: php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt 2012-02-05 10:08:16 UTC (rev 323075) +++ php/php-src/branches/PHP_5_3/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt 2012-02-05 10:29:34 UTC (rev 323076) @@ -78,7 +78,7 @@ // Run the test ut_run(); ?> ---EXPECT-- +--EXPECTF-- ------------------------------- Input text is : Thursday, December 18, 1969 8:49:59 AM PST @@ -96,7 +96,7 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG Error : 'Date parsing failed: U_PARSE_ERROR' ------------ 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 Error : 'Date parsing failed: U_PARSE_ERROR' ------------------------------- Modified: php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt 2012-02-05 10:08:16 UTC (rev 323075) +++ php/php-src/branches/PHP_5_4/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt 2012-02-05 10:29:34 UTC (rev 323076) @@ -78,7 +78,7 @@ // Run the test ut_run(); ?> ---EXPECT-- +--EXPECTF-- ------------------------------- Input text is : Thursday, December 18, 1969 8:49:59 AM PST @@ -96,7 +96,7 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG Error : 'Date parsing failed: U_PARSE_ERROR' ------------ 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 Error : 'Date parsing failed: U_PARSE_ERROR' ------------------------------- Modified: php/php-src/trunk/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt =================================================================== --- php/php-src/trunk/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt 2012-02-05 10:08:16 UTC (rev 323075) +++ php/php-src/trunk/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt 2012-02-05 10:29:34 UTC (rev 323076) @@ -78,7 +78,7 @@ // Run the test ut_run(); ?> ---EXPECT-- +--EXPECTF-- ------------------------------- Input text is : Thursday, December 18, 1969 8:49:59 AM PST @@ -96,7 +96,7 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG Error : 'Date parsing failed: U_PARSE_ERROR' ------------ 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 Error : 'Date parsing failed: U_PARSE_ERROR' -------------------------------
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php