mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fixed date format
This commit is contained in:
parent
6077020a60
commit
d3128ddf0e
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);
|
||||
$attemptdate = userdate($attempt->timestart, $timeformat);
|
||||
if ($attempt->timefinish) {
|
||||
$attemptlapse = date("I:s", $attempt->timefinish - $attempt->timestart);
|
||||
$attemptlapse = date("i:s", $attempt->timefinish - $attempt->timestart);
|
||||
} else {
|
||||
$attemptlapse = "...";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue