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.
This commit is contained in:
Tim Hunt
2025-09-02 17:17:04 +02:00
parent a1a8af4ca0
commit 634bf20945
+1 -1
View File
@@ -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);