[Pkg-owncloud-commits] [php-sabre-vobject] 105/128: This change hopefully forces this to work everywhere.

David Prévot taffit at moszumanska.debian.org
Tue May 20 23:11:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 2044b07a9342b7f22fb52c0073e0a2314e3f1ec5
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Thu Apr 3 18:21:58 2014 -0400

    This change hopefully forces this to work everywhere.
---
 tests/Sabre/VObject/Property/VCard/DateAndOrTimeTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Sabre/VObject/Property/VCard/DateAndOrTimeTest.php b/tests/Sabre/VObject/Property/VCard/DateAndOrTimeTest.php
index a9caffe..e27d8c1 100644
--- a/tests/Sabre/VObject/Property/VCard/DateAndOrTimeTest.php
+++ b/tests/Sabre/VObject/Property/VCard/DateAndOrTimeTest.php
@@ -158,7 +158,7 @@ class DateAndOrTimeTest extends \PHPUnit_Framework_TestCase {
         $prop = $vcard->createProperty('BDAY', $datetime);
 
         $dt = $prop->getDateTime();
-        $this->assertEquals($datetime, $dt, "For some reason this one failed. Current default timezone is: " . date_default_timezone_get());
+        $this->assertEquals('2014-04-02T18:37:00-04:00', $dt->format('c'), "For some reason this one failed. Current default timezone is: " . date_default_timezone_get());
 
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list