Kalender Update

* Übergang Sommerzeit Winterzeit Bugfix
This commit is contained in:
Daniel Spitzer
2025-10-22 13:13:59 +02:00
parent ba4964f2bd
commit 6bc1096700

View File

@@ -659,17 +659,18 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
public static function updateCalendarEvent($r, $me)
{
$description = ($r->description);
$attachments = ($r->attachments);
$location = ($r->location);
$title = ($r->title);
$start = CalendarModel::convertMillisecondsToTimestamp($r->start);
$end = CalendarModel::convertMillisecondsToTimestamp($r->end);
if ($title) {
$start = strtotime($r->start);
$end = strtotime($r->end);
}
$originalend = $end;
$allday = ($r->allday);
if ($allday) {
$start = $start + 7200;