@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.

Expose time with File upload date

Summary:
Also show the time of a file uploaded, not only the date.
This is consistent for example with exposing the creation time of Maniphest tasks.

Closes T16030

Test Plan: Go to http://phorge.localhost/file/ while logged in and logged out, see that `Uploaded by testadmin on Wed, Apr 9` changed to `Uploaded by user on Wed, Apr 9, 10:48 AM`.

Reviewers: O1 Blessed Committers, mainframe98, valerio.bozzolan

Reviewed By: O1 Blessed Committers, mainframe98, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16030

Differential Revision: https://we.phorge.it/D25961

+1 -1
+1 -1
src/applications/files/query/PhabricatorFileSearchEngine.php
··· 149 149 $name = $file->getName(); 150 150 $file_uri = $this->getApplicationURI("/info/{$phid}/"); 151 151 152 - $date_created = phabricator_date($file->getDateCreated(), $viewer); 152 + $date_created = phabricator_datetime($file->getDateCreated(), $viewer); 153 153 $author_phid = $file->getAuthorPHID(); 154 154 if ($author_phid) { 155 155 $author_link = $handles[$author_phid]->renderLink();