]> granicus.if.org Git - php/commitdiff
Updated test case and added BFN to NEWS.
authorDerick Rethans <github@derickrethans.nl>
Sun, 31 Mar 2013 10:07:24 +0000 (11:07 +0100)
committerDerick Rethans <github@derickrethans.nl>
Sun, 31 Mar 2013 10:07:24 +0000 (11:07 +0100)
NEWS
ext/date/tests/bug60774.phpt

diff --git a/NEWS b/NEWS
index c8b71167221de60f9b68ee7a421ed5f5ee2f39b5..f0a6b953ed4e74c55ae179ff092d3cc79dae6d09 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 20??, PHP 5.5.0 Beta 3
 
+- DateTime
+  . Fixed bug #54567 (DateTimeZone serialize/unserialize) (Lonny
+    Kapelushnik, Derick)
+  . Fixed bug #60774 (DateInterval::format("%a") is always zero when an
+    interval is created using the createFromDateString method) (Lonny
+    Kapelushnik, Derick)
 
 28 Mar 2013, PHP 5.5.0 Beta 2
 
index af8f4471d3453c6279c142237403e2eeca3b4a68..865928dd839f16af1518494c49301be92a93e0e5 100644 (file)
@@ -7,8 +7,8 @@ var_dump($i);
 echo $i->format("%d"), "\n";
 echo $i->format("%a"), "\n";
 ?>
---EXPECT--
-object(DateInterval)#1 (8) {
+--EXPECTF--
+object(DateInterval)#1 (%d) {
   ["y"]=>
   int(0)
   ["m"]=>
@@ -21,10 +21,24 @@ object(DateInterval)#1 (8) {
   int(0)
   ["s"]=>
   int(0)
+  ["weekday"]=>
+  int(0)
+  ["weekday_behavior"]=>
+  int(0)
+  ["first_last_day_of"]=>
+  int(0)
   ["invert"]=>
   int(0)
   ["days"]=>
   bool(false)
+  ["special_type"]=>
+  int(0)
+  ["special_amount"]=>
+  string(1) "0"
+  ["have_weekday_relative"]=>
+  int(0)
+  ["have_special_relative"]=>
+  int(0)
 }
 2
 (unknown)