diff options
author | Rémy Coutable <remy@rymai.me> | 2016-07-18 16:44:10 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-18 16:44:10 +0200 |
commit | dd4f50b1874ac066c7e47be223e98d8a9b317fc7 (patch) | |
tree | 268c37d3711d1eaa0a9eb78687b0f5f15b9d1230 /app/views/projects/generic_commit_statuses | |
parent | 017ae313dc84682e260e960f93fb4a55af0df523 (diff) | |
download | gitlab-ce-dd4f50b1874ac066c7e47be223e98d8a9b317fc7.tar.gz |
Fix build duration when build is not finished yet19937-fix-wrong-build-elapsed-time
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/views/projects/generic_commit_statuses')
-rw-r--r-- | app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml index 542827b2f15..331dc1fcc29 100644 --- a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml +++ b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml @@ -51,7 +51,7 @@ %td.duration - if generic_commit_status.duration = icon("clock-o") - #{duration_in_words(generic_commit_status.finished_at, generic_commit_status.started_at)} + = time_interval_in_words(generic_commit_status.duration) %td.timestamp - if generic_commit_status.finished_at |