Skip to content

Commit

Permalink
MDL-61322 reports: Reformated the display date to include the year.
Browse files Browse the repository at this point in the history
  • Loading branch information
abgreeve committed Feb 1, 2018
1 parent a11dae7 commit 5608acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion report/log/classes/table_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected function get_user_fullname($userid) {
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');
}
Expand Down
2 changes: 1 addition & 1 deletion report/loglive/classes/table_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function col_course($event) {
* @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);
}

Expand Down

0 comments on commit 5608acd

Please sign in to comment.