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.
This commit is contained in:
Tim Hunt
2025-09-02 15:34:23 +02:00
parent a7c0d3605a
commit d0be2a57ce
+1 -1
View File
@@ -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,