Merge branch 'MDL-35966-23' of git://github.com/damyon/moodle into MOODLE_23_STABLE
authorDan Poltawski <dan@moodle.com>
Wed, 28 Nov 2012 06:15:41 +0000 (14:15 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 28 Nov 2012 06:15:41 +0000 (14:15 +0800)
mod/assign/locallib.php

index 001f2d0..da09984 100644 (file)
@@ -2483,7 +2483,7 @@ class assign {
         $info->username = fullname($userfrom, true);
         $info->assignment = format_string($assignmentname,true, array('context'=>$context));
         $info->url = $CFG->wwwroot.'/mod/assign/view.php?id='.$coursemodule->id;
-        $info->timeupdated = strftime('%c',$updatetime);
+        $info->timeupdated = userdate($updatetime, get_string('strftimerecentfull'));
 
         $postsubject = get_string($messagetype . 'small', 'assign', $info);
         $posttext = self::format_notification_message_text($messagetype, $info, $course, $context, $modulename, $assignmentname);