mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
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]['office365_change_key'] = $newSubtask['changeKey'];
|
||||||
$subtasksToInsert[$i]['type'] = 'office365';
|
$subtasksToInsert[$i]['type'] = 'office365';
|
||||||
$subtasksToInsert[$i]['description'] = $newSubtask['body']['content'];
|
$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]['office365_location'] = $newSubtask['location']['displayName'];
|
||||||
$subtasksToInsert[$i++]['is_finished'] = 0;
|
$subtasksToInsert[$i++]['is_finished'] = 0;
|
||||||
}
|
}
|
||||||
@@ -340,7 +340,7 @@ class Office365Service
|
|||||||
'estimated_time' => round((strtotime($editedSubtask['end']['dateTime']) - strtotime($editedSubtask['start']['dateTime'])) / 3600,
|
'estimated_time' => round((strtotime($editedSubtask['end']['dateTime']) - strtotime($editedSubtask['start']['dateTime'])) / 3600,
|
||||||
1),
|
1),
|
||||||
'description' => $editedSubtask['body']['content'],
|
'description' => $editedSubtask['body']['content'],
|
||||||
'deadline' => $editedSubtask['end']['dateTime'],
|
'deadline' => Carbon::parse($editedSubtask['end']['dateTime'])->setTimezone('Europe/Bratislava'),
|
||||||
'office365_location' => $editedSubtask['location']['displayName'],
|
'office365_location' => $editedSubtask['location']['displayName'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user