[Pkg-owncloud-commits] [php-sabre-vobject] 07/18: PHP 5.5.10 seems to automatically convert GMT to UTC.

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 01:19:39 UTC 2014


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

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

commit 6f3df8d4c0993f9f03cb290bb981c511dcab823b
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Sun Mar 30 16:27:53 2014 -0400

    PHP 5.5.10 seems to automatically convert GMT to UTC.
---
 tests/Sabre/VObject/RecurrenceIteratorTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Sabre/VObject/RecurrenceIteratorTest.php b/tests/Sabre/VObject/RecurrenceIteratorTest.php
index 1811d8b..5988f16 100644
--- a/tests/Sabre/VObject/RecurrenceIteratorTest.php
+++ b/tests/Sabre/VObject/RecurrenceIteratorTest.php
@@ -1291,7 +1291,7 @@ class RecurrenceIteratorTest extends \PHPUnit_Framework_TestCase {
 
         }
 
-        $tz = new DateTimeZone('GMT');
+        $tz = new DateTimeZone('UTC');
         $this->assertEquals(array(
             new DateTime('2012-01-07 12:00:00',$tz),
             new DateTime('2012-01-08 12:00:00',$tz),
@@ -1356,7 +1356,7 @@ class RecurrenceIteratorTest extends \PHPUnit_Framework_TestCase {
 
         }
 
-        $tz = new DateTimeZone('GMT');
+        $tz = new DateTimeZone('UTC');
         $this->assertEquals(array(
             new DateTime('2012-01-12 12:00:00',$tz),
             new DateTime('2012-01-13 12:00:00',$tz),

-- 
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