mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
On second thoughts, added hours
This commit is contained in:
parent
d3128ddf0e
commit
819110a116
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class quiz_report extends quiz_default_report {
|
||||||
$attemptgrade = format_float(($attempt->sumgrades / $quiz->sumgrades) * $quiz->grade);
|
$attemptgrade = format_float(($attempt->sumgrades / $quiz->sumgrades) * $quiz->grade);
|
||||||
$attemptdate = userdate($attempt->timestart, $timeformat);
|
$attemptdate = userdate($attempt->timestart, $timeformat);
|
||||||
if ($attempt->timefinish) {
|
if ($attempt->timefinish) {
|
||||||
$attemptlapse = date("i:s", $attempt->timefinish - $attempt->timestart);
|
$attemptlapse = date("h:i:s", $attempt->timefinish - $attempt->timestart);
|
||||||
} else {
|
} else {
|
||||||
$attemptlapse = "...";
|
$attemptlapse = "...";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue