diff --git a/badges/renderer.php b/badges/renderer.php index 99c099ef8d8..3632182cb92 100644 --- a/badges/renderer.php +++ b/badges/renderer.php @@ -140,7 +140,7 @@ class core_badges_renderer extends plugin_renderer_base { $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);