[Pkg-owncloud-commits] [php-sabre-vobject] 03/46: use correct timezone

David Prévot taffit at moszumanska.debian.org
Thu Dec 10 02:12:37 UTC 2015


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 a8afbb0a935a2d1b57cc504866216d058ddb68e0
Author: Jan Kantert <kantert at sra.uni-hannover.de>
Date:   Wed Oct 14 13:35:16 2015 +0200

    use correct timezone
---
 lib/Recur/RDateIterator.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Recur/RDateIterator.php b/lib/Recur/RDateIterator.php
index 985c2d7..18bda5a 100644
--- a/lib/Recur/RDateIterator.php
+++ b/lib/Recur/RDateIterator.php
@@ -91,7 +91,8 @@ class RDateIterator implements Iterator {
 
         $this->currentDate =
             DateTimeParser::parse(
-                $this->dates[$this->counter - 1]
+                $this->dates[$this->counter - 1],
+                $this->startDate->getTimezone()
             );
 
     }

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