Page MenuHomePhabricator

D17471.id.diff
No OneTemporary

D17471.id.diff

diff --git a/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php b/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
--- a/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
+++ b/src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
@@ -105,6 +105,7 @@
$award = idx($awards, $badge->getPHID(), null);
$awarder_phid = $award->getAwarderPHID();
$awarder_handle = $viewer->renderHandle($awarder_phid);
+ $awarded_date = phabricator_date($award->getDateCreated(), $viewer);
$awarder_info = pht(
'Awarded by %s',
@@ -116,7 +117,8 @@
->setSubhead($badge->getFlavor())
->setQuality($badge->getQuality())
->setHref($badge->getViewURI())
- ->addByLine($awarder_info);
+ ->addByLine($awarder_info)
+ ->addByLine($awarded_date);
$flex->addItem($item);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 12:32 AM (6 h, 43 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6985917
Default Alt Text
D17471.id.diff (1020 B)

Event Timeline