@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Paste - add created time to pastes in a list

Summary: Fixes T5943. We do this differently in different places; Audit / Differential do something like this while Pholio expands the "byLine" to include a timestamp. Go with the Audit / Differential approach, as presumably having the date as a top line, easily scannable metadata is the goal here.

Test Plan: viewed a list of pastes and saw a timestamp of creation at the top.

Reviewers: epriestley, chad

Reviewed By: chad

Subscribers: epriestley, Korvin

Maniphest Tasks: T5943

Differential Revision: https://secure.phabricator.com/D10338

+2
+2
src/applications/paste/query/PhabricatorPasteSearchEngine.php
··· 163 163 ), 164 164 $preview); 165 165 166 + $created = phabricator_datetime($paste->getDateCreated(), $viewer); 166 167 $line_count = count($lines); 167 168 $line_count = pht( 168 169 '%s Line(s)', ··· 176 177 ->setHref('/P'.$paste->getID()) 177 178 ->setObject($paste) 178 179 ->addByline(pht('Author: %s', $author)) 180 + ->addIcon('none', $created) 179 181 ->addIcon('none', $line_count) 180 182 ->appendChild($source_code); 181 183