Bläddra i källkod

Fixed build in 5.4+

Patrick Reilly 13 år sedan
förälder
incheckning
8fcbf0a9e7

+ 2 - 2
package.xml

@@ -16,8 +16,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
   <active>yes</active>
  </lead>
 
- <date>2010-12-31</date>
- <version><release>0.1.1</release><api>0.1.1</api></version>
+ <date>2012-07-06</date>
+ <version><release>0.1.3</release><api>0.1.3</api></version>
  <stability><release>beta</release><api>beta</api></stability>
  <license uri="http://www.php.net/license">PHP</license>
  <notes>

+ 2 - 2
tests/object_method_call.diff

@@ -1,4 +1,4 @@
-037+ Mon Sep 08 1975 09:00:00 GMT+0000 (UTC)
+037+ Mon Sep 08 1975 09:00:00 GMT-0700 (PDT)
 037- Mon Sep 08 1975 09:00:00 GMT+0200 (EET)
-046+     string(6) "+00:00"
+046+     string(6) "-07:00"
 046-     string(6) "+02:00"

+ 2 - 2
tests/object_method_call.log

@@ -122,7 +122,7 @@ array(4) {
 
 TEST: Javascript Date -> PHP DateTime
 ======================================
-Mon Sep 08 1975 09:00:00 GMT+0000 (UTC)
+Mon Sep 08 1975 09:00:00 GMT-0700 (PDT)
 array(2) {
   [0]=>
   object(DateTime)#4 (3) {
@@ -131,7 +131,7 @@ array(2) {
     ["timezone_type"]=>
     int(1)
     ["timezone"]=>
-    string(6) "+00:00"
+    string(6) "-07:00"
   }
   [1]=>
   string(3) "foo"

+ 2 - 2
tests/object_method_call.out

@@ -34,7 +34,7 @@ array(4) {
 
 TEST: Javascript Date -> PHP DateTime
 ======================================
-Mon Sep 08 1975 09:00:00 GMT+0000 (UTC)
+Mon Sep 08 1975 09:00:00 GMT-0700 (PDT)
 array(2) {
   [0]=>
   object(DateTime)#4 (3) {
@@ -43,7 +43,7 @@ array(2) {
     ["timezone_type"]=>
     int(1)
     ["timezone"]=>
-    string(6) "+00:00"
+    string(6) "-07:00"
   }
   [1]=>
   string(3) "foo"

+ 1 - 1
tests/return_value.diff

@@ -1,2 +1,2 @@
-035+   string(6) "+00:00"
+035+   string(6) "-07:00"
 035-   string(6) "+02:00"

+ 1 - 1
tests/return_value.log

@@ -77,7 +77,7 @@ object(DateTime)#3 (3) {
   ["timezone_type"]=>
   int(1)
   ["timezone"]=>
-  string(6) "+00:00"
+  string(6) "-07:00"
 }
 int(1234567890)
 float(123.456789)

+ 1 - 1
tests/return_value.out

@@ -32,7 +32,7 @@ object(DateTime)#3 (3) {
   ["timezone_type"]=>
   int(1)
   ["timezone"]=>
-  string(6) "+00:00"
+  string(6) "-07:00"
 }
 int(1234567890)
 float(123.456789)