Kalender Update
* Übergang Sommerzeit Winterzeit Bugfix
This commit is contained in:
@@ -659,17 +659,18 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
|
|||||||
|
|
||||||
public static function updateCalendarEvent($r, $me)
|
public static function updateCalendarEvent($r, $me)
|
||||||
{
|
{
|
||||||
|
$description = ($r->description);
|
||||||
|
$attachments = ($r->attachments);
|
||||||
|
$location = ($r->location);
|
||||||
|
$title = ($r->title);
|
||||||
|
|
||||||
$start = CalendarModel::convertMillisecondsToTimestamp($r->start);
|
$start = CalendarModel::convertMillisecondsToTimestamp($r->start);
|
||||||
$end = CalendarModel::convertMillisecondsToTimestamp($r->end);
|
$end = CalendarModel::convertMillisecondsToTimestamp($r->end);
|
||||||
|
|
||||||
|
|
||||||
if ($title) {
|
if ($title) {
|
||||||
$start = strtotime($r->start);
|
$start = strtotime($r->start);
|
||||||
$end = strtotime($r->end);
|
$end = strtotime($r->end);
|
||||||
}
|
}
|
||||||
|
|
||||||
$originalend = $end;
|
$originalend = $end;
|
||||||
|
|
||||||
$allday = ($r->allday);
|
$allday = ($r->allday);
|
||||||
if ($allday) {
|
if ($allday) {
|
||||||
$start = $start + 7200;
|
$start = $start + 7200;
|
||||||
|
|||||||
Reference in New Issue
Block a user