mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
OK, much better. What was I thinking. :-)
This commit is contained in:
parent
819110a116
commit
d98579dbc9
@ -123,7 +123,7 @@ class quiz_report extends quiz_default_report {
|
||||
$attemptgrade = format_float(($attempt->sumgrades / $quiz->sumgrades) * $quiz->grade);
|
||||
$attemptdate = userdate($attempt->timestart, $timeformat);
|
||||
if ($attempt->timefinish) {
|
||||
$attemptlapse = date("h:i:s", $attempt->timefinish - $attempt->timestart);
|
||||
$attemptlapse = format_time($attempt->timefinish - $attempt->timestart);
|
||||
} else {
|
||||
$attemptlapse = "...";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user