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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user