Page MenuHomePhabricator

D10338.diff
No OneTemporary

D10338.diff

diff --git a/src/applications/paste/query/PhabricatorPasteSearchEngine.php b/src/applications/paste/query/PhabricatorPasteSearchEngine.php
--- a/src/applications/paste/query/PhabricatorPasteSearchEngine.php
+++ b/src/applications/paste/query/PhabricatorPasteSearchEngine.php
@@ -163,6 +163,7 @@
),
$preview);
+ $created = phabricator_datetime($paste->getDateCreated(), $viewer);
$line_count = count($lines);
$line_count = pht(
'%s Line(s)',
@@ -176,6 +177,7 @@
->setHref('/P'.$paste->getID())
->setObject($paste)
->addByline(pht('Author: %s', $author))
+ ->addIcon('none', $created)
->addIcon('none', $line_count)
->appendChild($source_code);

File Metadata

Mime Type
text/plain
Expires
Mar 18 2025, 6:08 PM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710220
Default Alt Text
D10338.diff (746 B)

Event Timeline