Kalender Anzeige

Ich habe hier mal ein wenig gesucht, und ein Ƥhnliches Problem gefunden.

Dort war dies die Lƶsung:

A little update of the lines to change with this problem. In a previous post I pasted some wrong quoting characters, sry. Here’s the correction.

Edit/Note: - unfortunatley it’s Discourse changing the simple quotes to wrong ones. Please take care of using the right quotes, I don’t know how to tag the right inhere, sorry.

Make sure these settings are replaced in:

vi /var/www/[yourNCdirectory]/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php

Replace:

$date->setDate($currentYear, 1, 1);
with
$date = $date->setDate($currentYear, 1, 1);

$date->add(new \DateInterval(ā€˜P’ . $byYearDay . ā€˜D’));
with
$date = $date->add(new \DateInterval(ā€˜P’ . $byYearDay . ā€˜D’));

$date->sub(new \DateInterval(ā€˜P’ . abs($byYearDay) . ā€˜D’));
with
$date = $date->sub(new \DateInterval(ā€˜P’ . abs($byYearDay) . ā€˜D’));

Zum ersten Punkt:
$date->setDate($currentYear, 1, 1);
with
$date = $date->setDate($currentYear, 1, 1);

Das war bei mir genau so.

$date->add(new \DateInterval(ā€˜P’ . $byYearDay . ā€˜D’));
with
$date = $date->add(new \DateInterval(ā€˜P’ . $byYearDay . ā€˜D’));
Den Eintrag habe ich erst gar nicht gefunden…