MDL-27747 quiz review, time taken and overtime were formatted incorrectly #598
This commit is contained in:
+2
-2
@@ -175,14 +175,14 @@ if ($attempt->timefinish) {
|
||||
);
|
||||
$summarydata['timetaken'] = array(
|
||||
'title' => get_string('timetaken', 'quiz'),
|
||||
'content' => userdate($timetaken),
|
||||
'content' => format_time($timetaken),
|
||||
);
|
||||
}
|
||||
|
||||
if (!empty($overtime)) {
|
||||
$summarydata['overdue'] = array(
|
||||
'title' => get_string('overdue', 'quiz'),
|
||||
'content' => userdate($overtime),
|
||||
'content' => format_time($overtime),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user