diff --git a/core/module/course/course.php b/core/module/course/course.php index 8175a70..ad4976f 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -1149,7 +1149,7 @@ class course extends common self::$userHistory[] = [ $pages[$pageId]['number'], html_entity_decode($pages[$pageId]['title']), - helper::dateUTF8('%d %B %Y', $time), + helper::dateUTF8('%d/%m/%Y', $time), helper::dateUTF8('%H:%M', $time) ]; $floorTime = isset($floorTime) && $floorTime < $time ? $floorTime : $time; @@ -1161,7 +1161,7 @@ class course extends common self::$userHistory[] = [ $pages[$pageId]['number'], html_entity_decode($pages[$pageId]['title']), - helper::dateUTF8('%d %B %Y', $times), + helper::dateUTF8('%d/%m/%Y', $times), helper::dateUTF8('%H:%M', $times) ]; $floorTime = isset($floorTime) && $floorTime < $times ? $floorTime : $times; diff --git a/core/module/course/view/userHistory/userHistory.js.php b/core/module/course/view/userHistory/userHistory.js.php index 652d8bb..7384f41 100644 --- a/core/module/course/view/userHistory/userHistory.js.php +++ b/core/module/course/view/userHistory/userHistory.js.php @@ -17,7 +17,6 @@ $(document).ready((function () { language: { url: "core/vendor/datatables/french.json" }, - order: [[0, 'asc']], locale: 'fr', searching: false, pageLength: 100,