From fa010223750f30db5ce3b9c1d29d80f4acff752b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 3 Oct 2023 15:04:04 +0200 Subject: [PATCH] v09 --- core/module/course/course.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/course/course.php b/core/module/course/course.php index 9eb9181..d7f5472 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -333,7 +333,7 @@ class course extends common $redirect .= $this->getData(['course', $courseId, 'homePageId']); } if ($this->getData(['course', $courseId, 'access']) === self::COURSE_ACCESS_DATE) { - $to = helper::dateUTF8('%d/%m/%Y', $this->getData(['course', $courseId, 'closingDate'])) . helper::translate(' à ') . helper::dateUTF8('%H:%M', $this->getData(['course', $courseId, 'closingDate'])); + $to = helper::dateUTF8('%d %B %Y', $this->getData(['course', $courseId, 'closingDate'])) . helper::translate(' à ') . helper::dateUTF8('%H:%M', $this->getData(['course', $courseId, 'closingDate'])); $message = sprintf(helper::translate('Ce cours ferme le %s'), $to); } else { $message = sprintf(helper::translate('Bienvenue dans le cours %s'), $this->getData(['course', $courseId, 'shortTitle']));