summaryrefslogtreecommitdiff
path: root/plugins/calendar/lib/Horde_Date_Recurrence.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-11-02 15:25:25 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2012-11-02 15:25:25 (GMT)
commit728a28c5e9c5cafd639a5357d2bf40280a35633f (patch)
tree09cdeee8e5b735666fec865064a725de91b95cb8 /plugins/calendar/lib/Horde_Date_Recurrence.php
parent1d18e0a064d77b79c824e1f24bb6cc752ca07c80 (diff)
downloadroundcubemail-plugins-kolab-728a28c5e9c5cafd639a5357d2bf40280a35633f.tar.gz
Fix recurrence computation with UMTIL date
Diffstat (limited to 'plugins/calendar/lib/Horde_Date_Recurrence.php')
-rw-r--r--plugins/calendar/lib/Horde_Date_Recurrence.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/calendar/lib/Horde_Date_Recurrence.php b/plugins/calendar/lib/Horde_Date_Recurrence.php
index 68340ba..d6debf3 100644
--- a/plugins/calendar/lib/Horde_Date_Recurrence.php
+++ b/plugins/calendar/lib/Horde_Date_Recurrence.php
@@ -6307,7 +6307,10 @@ class Horde_Date_Recurrence {
'%04d%02d%02d');
$this->setRecurEnd(new Horde_Date(array('year' => $year,
'month' => $month,
- 'mday' => $mday)));
+ 'mday' => $mday,
+ 'hour' => 23,
+ 'min' => 59,
+ 'sec' => 59)));
}
if (isset($rdata['COUNT'])) {
$this->setRecurCount($rdata['COUNT']);