OK, much better. What was I thinking. :-)

This commit is contained in:
moodler 2004-01-30 15:22:43 +00:00
parent 819110a116
commit d98579dbc9

View File

@ -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 = "...";
}