]> git.mjollnir.org Git - moodle.git/commitdiff
OK, much better. What was I thinking. :-)
authormoodler <moodler>
Fri, 30 Jan 2004 15:22:43 +0000 (15:22 +0000)
committermoodler <moodler>
Fri, 30 Jan 2004 15:22:43 +0000 (15:22 +0000)
mod/quiz/report/overview/report.php

index b31da7e907bb73f80ef6e6965a87aaf3b28c4020..2bc1c9ef174d5841a1e444317ad7217d20125c46 100644 (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 = "...";
             }