From d0be2a57ce809f04a97b82dc0387d28a41fcbe32 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 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 a64b22a1a8b..586ae533249 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -6565,7 +6565,7 @@ class assign { } $info->assignment = format_string($assignmentname, true, array('context'=>$context)); $info->url = $CFG->wwwroot.'/mod/assign/view.php?id='.$coursemodule->id; - $info->timeupdated = userdate($updatetime, get_string('strftimerecentfull')); + $info->timeupdated = userdate($updatetime); $postsubject = get_string($messagetype . 'small', 'assign', $info); $posttext = self::format_notification_message_text($messagetype,