From f6c4de3c4c74aa217364091643f1e5266f7e4fa1 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. --- mod/assign/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 8f900529aee..879c2978f38 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -6523,7 +6523,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);