Skip to content

Commit

Permalink
MDL-48567 core_badges: fixed display of badge created date
Browse files Browse the repository at this point in the history
  • Loading branch information
marsh0lion committed Dec 11, 2014
1 parent 2d84748 commit 64d00f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badges/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function print_badge_overview($badge, $context) {
$dl = array();
$dl[get_string('name')] = $badge->name;
$dl[get_string('description', 'badges')] = $badge->description;
$dl[get_string('createdon', 'search')] = $badge->timecreated;
$dl[get_string('createdon', 'search')] = userdate($badge->timecreated);
$dl[get_string('badgeimage', 'badges')] = print_badge_image($badge, $context, 'large');
$display .= $this->definition_list($dl);

Expand Down

0 comments on commit 64d00f4

Please sign in to comment.