Fix weekly recurrences broken with last "upstream merge" of Horde_date_Recurrence

This commit is contained in:
Aleksander Machniak 2016-03-03 15:20:37 +01:00
parent 494785384d
commit 429990b3cd

View file

@ -489,6 +489,7 @@ class Horde_Date_Recurrence
$after_week = Horde_Date_Utils::firstDayOfWeek($week, $theYear);
$after_week->timezone = $this->start->timezone;
$after_week_end = clone $after_week;
$after_week_end->mday += 7;
$diff = $start_week->diff($after_week);
$interval = $this->recurInterval * 7;