MDL-74061 blocks_completion: Adding time in completion progress details
This commit is contained in:
@@ -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 '-';
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user