Merge branch 'ent-10886-no-cambia-el-formato-de-timestamp-en-la-vista-de-eventos' into 'develop'

Ent 10886 no cambia el formato de timestamp en la vista de eventos

See merge request artica/pandorafms!5693
This commit is contained in:
Matias Didier 2023-04-18 12:34:36 +00:00
commit 831e3c34d7
1 changed files with 2 additions and 2 deletions

View File

@ -555,13 +555,13 @@ if (is_ajax() === true) {
$last_contact_value = ui_print_timestamp($last_contact, true);
} else {
$title = date($config['date_format'], strtotime($tmp->timestamp));
$value = human_time_comparation(strtotime($tmp->timestamp), 'large');
$value = ui_print_timestamp(strtotime($tmp->timestamp), true);
$last_contact_value = '<span title="'.$title.'">'.$value.'</span>';
}
} else {
date_default_timezone_set($user_timezone);
$title = date($config['date_format'], strtotime($tmp->timestamp));
$value = human_time_comparation(strtotime($tmp->timestamp), 'large');
$value = ui_print_timestamp(strtotime($tmp->timestamp), true);
$last_contact_value = '<span title="'.$title.'">'.$value.'</span>';
}