[Pkg-owncloud-commits] [php-sabre-vobject] 73/106: This hopefully fixes hhvm.
David Prévot
taffit at moszumanska.debian.org
Fri Aug 22 15:11:05 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 1f61649aec59a6fcb48b1f039fee84e24e95ec36
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Thu Aug 7 11:17:19 2014 -0400
This hopefully fixes hhvm.
---
lib/Recur/RDateIterator.php | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/Recur/RDateIterator.php b/lib/Recur/RDateIterator.php
index 0514d32..88a927e 100644
--- a/lib/Recur/RDateIterator.php
+++ b/lib/Recur/RDateIterator.php
@@ -91,12 +91,10 @@ class RDateIterator implements Iterator {
$this->counter++;
if (!$this->valid()) return;
- $this->currentDate->modify(
+ $this->currentDate =
DateTimeParser::parse(
$this->dates[$this->counter-1]
- )->format('Y-m-d H:i:s')
- );
-
+ );
}
--
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