Merged in bugfix/PMCORE-3700 (pull request #8412)

PMCORE-3700

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2022-04-21 15:56:13 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ switch ($actionAjax) {
} }
$response = new stdclass(); $response = new stdclass();
$response->data = DateTime::convertUtcToTimeZone($process); $response->data = $process;
$response->totalCount = $totalCount; $response->totalCount = $totalCount;
echo G::json_encode($response); echo G::json_encode($response);

View File

@@ -1231,7 +1231,7 @@ class Cases extends Api
$case->setFormatFieldNameInUppercase(false); $case->setFormatFieldNameInUppercase(false);
$response = $case->getTasks($appUid); $response = $case->getTasks($appUid);
return DateTime::convertUtcToIso8601($response, $this->arrayFieldIso8601); return DateTime::convertUtcToTimeZone($response);
} catch (Exception $e) { } catch (Exception $e) {
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()); throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
} }