From eab8d8a22c4fc93d47ed2f185632a2a7d2f41876 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 30 Jun 2017 07:02:36 -0700 Subject: [PATCH] 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 --- .../harbormaster/controller/HarbormasterBuildViewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/harbormaster/controller/HarbormasterBuildViewController.php b/src/applications/harbormaster/controller/HarbormasterBuildViewController.php index 7932451d2e..5b7171a200 100644 --- a/src/applications/harbormaster/controller/HarbormasterBuildViewController.php +++ b/src/applications/harbormaster/controller/HarbormasterBuildViewController.php @@ -141,7 +141,7 @@ final class HarbormasterBuildViewController if ($ended) { $when[] = pht( 'Completed at %s', - phabricator_datetime($started, $viewer)); + phabricator_datetime($ended, $viewer)); $duration = ($ended - $started); if ($duration) {