MDL-61322 reports: Reformated the display date to include the year.

This commit is contained in:
Adrian Greeve
2018-02-01 08:26:27 +08:00
parent a4f914b54d
commit 375db4ebc5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ class report_log_table_log extends table_sql {
public function col_time($event) {
if (empty($this->download)) {
$dateformat = get_string('strftimerecent', 'core_langconfig');
$dateformat = get_string('strftimedatetime', 'core_langconfig');
} else {
$dateformat = get_string('strftimedatetimeshort', 'core_langconfig');
}
+1 -1
View File
@@ -116,7 +116,7 @@ class report_loglive_table_log extends table_sql {
* @return string HTML for the time column
*/
public function col_time($event) {
$recenttimestr = get_string('strftimerecent', 'core_langconfig');
$recenttimestr = get_string('strftimedatetime', 'core_langconfig');
return userdate($event->timecreated, $recenttimestr);
}