Bugfix Calender Update sync richtung MS

* Die Positionierung von Originalend war ungünstig. ist nun bereinigt.
This commit is contained in:
Daniel Spitzer
2025-09-01 22:12:01 +02:00
parent 4259f07052
commit fc23c5ce5f

View File

@@ -650,11 +650,14 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
$start = ((($r->start - 7200000) / 1000));
$end = ((($r->end - 7200000) / 1000));
$originalend = $end;
if ($title) {
$start = strtotime($r->start);
$end = strtotime($r->end);
}
$originalend = $end;
$allday = ($r->allday);
if ($allday) {
$start = $start + 7200;
@@ -804,8 +807,6 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
$db->delete("tmp_cal_events_attachments", "id = '" . $tmpid . "'");
}
}
$updateArray['attachments'] = $attachments;
$updateArray['end_time'] = $originalend;
}