1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Use the correct "completed" time in Harbormaster display UI

Summary: Fixes T12883. The task seems correct to me and I think this is a copy/paste mistake that probably blames to me.

Test Plan: Fiddled these numbers, viewed a build in Harbormaster, saw the adjusted time.

Reviewers: chad, amckinley

Reviewed By: chad

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T12883

Differential Revision: https://secure.phabricator.com/D18177
This commit is contained in:
epriestley 2017-06-30 07:02:36 -07:00
parent 4e047f7b31
commit eab8d8a22c

View file

@ -141,7 +141,7 @@ final class HarbormasterBuildViewController
if ($ended) { if ($ended) {
$when[] = pht( $when[] = pht(
'Completed at %s', 'Completed at %s',
phabricator_datetime($started, $viewer)); phabricator_datetime($ended, $viewer));
$duration = ($ended - $started); $duration = ($ended - $started);
if ($duration) { if ($duration) {