summaryrefslogtreecommitdiff
path: root/app/views/projects/builds/_sidebar.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/builds/_sidebar.html.haml')
-rw-r--r--app/views/projects/builds/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml
index 396cc4ad925..dc57b49f27a 100644
--- a/app/views/projects/builds/_sidebar.html.haml
+++ b/app/views/projects/builds/_sidebar.html.haml
@@ -49,7 +49,7 @@
- if @build.duration
%p.build-detail-row
%span.build-light-text Duration:
- #{duration_in_words(@build.finished_at, @build.started_at)}
+ = time_interval_in_words(@build.duration)
- if @build.finished_at
%p.build-detail-row
%span.build-light-text Finished: