Use api_get_local_time() fix BT#12531

pull/2487/head
jmontoyaa 9 years ago
parent 646cf62a0b
commit d9edc1f9a3
  1. 5
      main/admin/teachers_time_by_session_report.php

@ -101,10 +101,7 @@ if ($session) {
continue;
}
$usersInfo[$user->getId()][$course->getId().'_last_work'] = api_format_date(
$lastWork->getSentDate()->getTimestamp(),
DATE_TIME_FORMAT_SHORT
);
$usersInfo[$user->getId()][$course->getId().'_last_work'] = api_get_local_time($lastWork->getSentDate()->getTimestamp());
}
}
}

Loading…
Cancel
Save