Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15401533
D10338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
746 B
Referenced Files
None
Subscribers
None
D10338.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10338: Paste - add created time to pastes in a list
Attached
Detach File
Event Timeline
Log In to Comment