MDL-61322 reports: Reformated the display date to include the year.
authorAdrian Greeve <adrian@moodle.com>
Thu, 1 Feb 2018 00:26:27 +0000 (08:26 +0800)
committerAdrian Greeve <adrian@moodle.com>
Thu, 1 Feb 2018 00:26:27 +0000 (08:26 +0800)
report/log/classes/table_log.php
report/loglive/classes/table_log.php

index ad9e44a..68c866b 100644 (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');
         }
index 4cdbb4d..848a5dd 100644 (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);
     }