MDL-45512 comments: Added full date to comment details.

This commit is contained in:
Adrian Greeve 2014-05-13 10:29:24 +08:00 committed by Marina Glancy
parent 2ba0565d7d
commit 556a760d0c

View file

@ -526,7 +526,7 @@ class comment {
$c->content = $u->ccontent;
$c->format = $u->cformat;
$c->timecreated = $u->ctimecreated;
$c->strftimeformat = get_string('strftimerecent', 'langconfig');
$c->strftimeformat = get_string('strftimerecentfull', 'langconfig');
$url = new moodle_url('/user/view.php', array('id'=>$u->id, 'course'=>$this->courseid));
$c->profileurl = $url->out(false); // URL should not be escaped just yet.
$c->fullname = fullname($u);