]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 21:42:27 +0000 (21:42 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 21:42:27 +0000 (21:42 +0000)
ext/date/tests/date_constants.phpt
ext/date/tests/oo_001.phpt

index 64808f4d4fe809b166f1f980994383409b549156..1bf0025372f67dcd5a0e1a0cad7c266a19906479 100644 (file)
@@ -90,7 +90,21 @@ unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200"
 unicode(31) "Tue, 30 May 2006 14:32:13 +0200"
 unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200"
 unicode(31) "Tue, 30 May 2006 14:32:13 +0200"
+unicode(25) "2006-07-01T14:27:30+02:00"
+unicode(25) "2006-05-30T14:32:13+02:00"
 unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200"
 unicode(31) "Tue, 30 May 2006 14:32:13 +0200"
 unicode(25) "2006-07-01T14:27:30+02:00"
 unicode(25) "2006-05-30T14:32:13+02:00"
+
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)
index 9b6142158f9c42d431be5cda109ba72404ef1601..c16f0b08699f0b28c6d8ab446ce950aa7cf65bb9 100644 (file)
@@ -51,3 +51,16 @@ Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly
 bool(false)
 DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne)
 DONE
+--UEXPECTF--
+unicode(19) "%d-%d-%d %d:%d:%d"
+
+Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %soo_001.php on line %d
+bool(false)
+DateTime::__construct(): Failed to parse time string (1am todax) at position 4 (t): The timezone could not be found in the database
+string(3) "UTC"
+
+Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly initialized by its constructor in %soo_001.php on line %d
+bool(false)
+DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne)
+DONE
+