Merge branch 'bugfix/fix-voice-call-active-text' into 'master'

Bugfix/fix voice call active text

See merge request fronk/thetool!333
This commit is contained in:
Luca Haid
2024-04-16 14:19:09 +00:00

View File

@@ -45,9 +45,6 @@ class VoiceCallHistoryModel {
for ($i = 0; $i < count($callHistory); $i++) {
$call = $callHistory[$i];
$date = date("Y-m-d H:i:s", strtotime($call["calldate2"] . " UTC"));
$date = new DateTime($date, new DateTimeZone('UTC'));
$date->setTimezone(new DateTimeZone('Europe/Vienna'));
$date = $date->format('Y-m-d H:i:s');
$modifiedCall = [
"uid" => $call["uniqueid"],