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

index 9a13f6d..7c5a925 100644 (file)
@@ -3182,7 +3182,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 = 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);