Permalink
Browse files

Merge branch 'wip-MDL-30059-stable21' of git://github.com/phalacee/mo…

…odle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 3fb3517 + c8972b9 commit c2d7c2296209f2be3ae789172a21cc633b03e01e Sam Hemelryk committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
@@ -1764,7 +1764,7 @@ function email_teachers($submission) {
$info->username = fullname($user, true);
$info->assignment = format_string($this->assignment->name,true);
$info->url = $CFG->wwwroot.'/mod/assignment/submissions.php?id='.$this->cm->id;
- $info->timeupdated = strftime('%c',$submission->timemodified);
+ $info->timeupdated = userdate($submission->timemodified, '%c', $teacher->timezone);
$postsubject = $strsubmitted.': '.$info->username.' -> '.$this->assignment->name;
$posttext = $this->email_teachers_text($info);

0 comments on commit c2d7c22

Please sign in to comment.