PMCORE-3196 CLONAR - [6261] La tarea 'Casos no asignados' en cron no funciona correctamente con 'system_utc_time_zone' habilitado

This commit is contained in:
Roly Gutierrez
2021-10-27 14:55:44 -04:00
parent 4c658beb1a
commit 582269b7f9
8 changed files with 64 additions and 57 deletions

View File

@@ -2673,7 +2673,7 @@ class Bootstrap
$context = [
'ip' => G::getIpAddress(),
'workspace' => config('system.workspace', 'Undefined Workspace'),
'timeZone' => DateTime::convertUtcToTimeZone(date('Y-m-d H:m:s')),
'timeZone' => DateTime::convertUtcToTimeZone(date('Y-m-d H:i:s')),
'usrUid' => G::LoadTranslation('UID_UNDEFINED_USER')
];
$context = array_merge($context, $extraParams);