Remove double date

1.10.x
jmontoyaa 9 years ago
parent d9ba3337c9
commit 6919b2c173
  1. 6
      main/work/work.lib.php

@ -2055,11 +2055,9 @@ function get_work_user_list(
$work['qualification'] = $qualification_string.$feedback;
$work['qualification_only'] = $qualification_string;
// Date.
$work_date = api_convert_and_format_date($work['sent_date']);
$work['sent_date_from_db'] = $work['sent_date'];
$work['sent_date'] = '<div class="date-time">' . date_to_str_ago(api_get_local_time($work['sent_date'])) . ' ' . $add_string . ' ' . $work_date . '</div>';
$work['sent_date'] = '<div class="date-time">' .
api_get_local_time($work['sent_date']) . ' ' . $add_string . ' </div>';
// Actions.
$correction = '';

Loading…
Cancel
Save