Merge branch 'wip-MDL-61322-34' of git://github.com/abgreeve/moodle into MOODLE_34_STABLE
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user