no message

This commit is contained in:
StudioTem committed 2025-06-05 13:54:24 +02:00
1 parent 37771779a3
commit f4621d8388
1 file changed
+2 -2
@@ -247,7 +247,7 @@ class Office365Service
$subtasksToInsert[$i]['office365_change_key'] = $newSubtask['changeKey'];
$subtasksToInsert[$i]['type'] = 'office365';
$subtasksToInsert[$i]['description'] = $newSubtask['body']['content'];
$subtasksToInsert[$i]['deadline'] = $newSubtask['end']['dateTime'];
$subtasksToInsert[$i]['deadline'] = Carbon::parse($newSubtask['end']['dateTime'])->setTimezone('Europe/Bratislava');
$subtasksToInsert[$i]['office365_location'] = $newSubtask['location']['displayName'];
$subtasksToInsert[$i++]['is_finished'] = 0;
}
@@ -340,7 +340,7 @@ class Office365Service
'estimated_time' => round((strtotime($editedSubtask['end']['dateTime']) - strtotime($editedSubtask['start']['dateTime'])) / 3600,
1),
'description' => $editedSubtask['body']['content'],
'deadline' => $editedSubtask['end']['dateTime'],
'deadline' => Carbon::parse($editedSubtask['end']['dateTime'])->setTimezone('Europe/Bratislava'),
'office365_location' => $editedSubtask['location']['displayName'],
]);