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

Updated Phrequent "Time Tracked" page to show time in Started / Ended columns.

Summary:
Small update that shows time as well as date on the Time Tracked page, which
is important given that durations are likely to be less than a day.

Test Plan: Apply the patch and view the "Time Tracked" page under Phrequent.

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2857

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

authored by

James Rhodes and committed by
epriestley
4a5dfd38 e555b902

+2 -2
+2 -2
src/applications/phrequent/controller/PhrequentListController.php
··· 66 66 67 67 if ($usertime->getDateEnded() !== null) { 68 68 $time_spent = $usertime->getDateEnded() - $usertime->getDateStarted(); 69 - $time_ended = phabricator_date($usertime->getDateEnded(), $user); 69 + $time_ended = phabricator_datetime($usertime->getDateEnded(), $user); 70 70 } else { 71 71 $time_spent = time() - $usertime->getDateStarted(); 72 72 $time_ended = phutil_tag( ··· 101 101 'href' => $usertime_user->getURI() 102 102 ), 103 103 $usertime_user->getFullName()), 104 - phabricator_date($usertime->getDateStarted(), $user), 104 + phabricator_datetime($usertime->getDateStarted(), $user), 105 105 $time_ended, 106 106 $time_spent == 0 ? 'none' : 107 107 phabricator_format_relative_time_detailed($time_spent),