10886-Timestamp events with ui_print_timestamp()

This commit is contained in:
Pablo Aragon 2023-04-11 15:31:27 +02:00
parent 57c6788a19
commit 5f1e20e399
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ if (is_ajax() === true) {
$user_timezone = users_get_user_by_id($_SESSION['id_usuario'])['timezone'];
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>';
}