mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +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:
parent
4e047f7b31
commit
eab8d8a22c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue