MDL-74061 blocks_completion: Adding time in completion progress details

This commit is contained in:
Dat Nguyen
2022-06-06 05:33:23 +01:00
parent 5500d143f4
commit d49d3cbb75
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ if (empty($completions)) {
// Completion data.
echo html_writer::start_tag('td', array('class' => 'cell c5'));
if ($row['timecompleted']) {
echo userdate($row['timecompleted'], get_string('strftimedate', 'langconfig'));
echo userdate($row['timecompleted'], get_string('strftimedatemonthtimeshort', 'langconfig'));
} else {
echo '-';
}
+1
View File
@@ -39,6 +39,7 @@ $string['oldcharset'] = 'ISO-8859-1';
$string['parentlanguage'] = '';
$string['strftimedate'] = '%d %B %Y';
$string['strftimedatemonthabbr'] = '%d %b %Y';
$string['strftimedatemonthtimeshort'] = '%d %b %Y, %I:%M';
$string['strftimedatefullshort'] = '%d/%m/%y';
$string['strftimedateshort'] = '%d %B';
$string['strftimedateshortmonthabbr'] = '%d %b';