cvs: php-src /ext/date/tests date_create-3.phpt
| From: | Antony Dovgal | Date: | Mon, 07 Aug 2006 21:06:22 +0000 |
| Subject: | cvs: php-src /ext/date/tests date_create-3.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39812@lists.php.net to get a copy of this message | ||
tony2001 Mon Aug 7 21:06:22 2006 UTC
Modified files:
/php-src/ext/date/tests date_create-3.phpt
Log:
fix test - class Date has been renamed
the test still fails, though...
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/date_create-3.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/date/tests/date_create-3.phpt
diff -u php-src/ext/date/tests/date_create-3.phpt:1.3 php-src/ext/date/tests/date_create-3.phpt:1.4
--- php-src/ext/date/tests/date_create-3.phpt:1.3 Wed Dec 7 14:39:07 2005
+++ php-src/ext/date/tests/date_create-3.phpt Mon Aug 7 21:06:21 2006
@@ -5,8 +5,8 @@
--FILE--
<?php
date_default_timezone_set("GMT");
-echo date_format(date_create("Dec31 2005 +0100"), date::ISO8601), "\n";
-echo date(date::ISO8601, strtotime("Dec31 2005 +0100")), "\n";
+echo date_format(date_create("Dec31 2005 +0100"), DateTime::ISO8601), "\n";
+echo date(DateTime::ISO8601, strtotime("Dec31 2005 +0100")), "\n";
?>
--EXPECT--
2005-12-31T00:00:00+0100