This commit is contained in:
Jun Pataleta 2022-07-11 16:51:03 +08:00
commit df2276aee6
2 changed files with 2 additions and 1 deletions

View file

@ -243,7 +243,7 @@ if (empty($completions)) {
// Completion data. // Completion data.
echo html_writer::start_tag('td', array('class' => 'cell c5')); echo html_writer::start_tag('td', array('class' => 'cell c5'));
if ($row['timecompleted']) { if ($row['timecompleted']) {
echo userdate($row['timecompleted'], get_string('strftimedate', 'langconfig')); echo userdate($row['timecompleted'], get_string('strftimedatemonthtimeshort', 'langconfig'));
} else { } else {
echo '-'; echo '-';
} }

View file

@ -43,6 +43,7 @@ $string['pm'] = 'pm';
$string['pmcaps'] = 'PM'; $string['pmcaps'] = 'PM';
$string['strftimedate'] = '%d %B %Y'; $string['strftimedate'] = '%d %B %Y';
$string['strftimedatemonthabbr'] = '%d %b %Y'; $string['strftimedatemonthabbr'] = '%d %b %Y';
$string['strftimedatemonthtimeshort'] = '%d %b %Y, %I:%M';
$string['strftimedatefullshort'] = '%d/%m/%y'; $string['strftimedatefullshort'] = '%d/%m/%y';
$string['strftimedateshort'] = '%d %B'; $string['strftimedateshort'] = '%d %B';
$string['strftimedateshortmonthabbr'] = '%d %b'; $string['strftimedateshortmonthabbr'] = '%d %b';