From 634bf209450b5633dabca79ff026e7fa8377c742 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 8 May 2025 16:30:46 +0100 Subject: [PATCH] MDL-85416 assignment: fix date format in messages For no very obvious reason, the date in the 'You have just submitted your assignemnt' message was formatted differently from the default display used on-screen. This commit makes it consistent. --- public/mod/assign/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/mod/assign/locallib.php b/public/mod/assign/locallib.php index 02f10c310ad..1a2ae846eb9 100644 --- a/public/mod/assign/locallib.php +++ b/public/mod/assign/locallib.php @@ -6617,7 +6617,7 @@ class assign { $info->courseassignsurl = $CFG->wwwroot . '/mod/assign/index.php?id=' . $course->id; // Time of the action. - $info->timeupdated = userdate($updatetime, get_string('strftimerecentfull')); + $info->timeupdated = userdate($updatetime); // Other data passed in. $info = (object) array_merge((array) $info, $extrainfo);