Update duration representation on builds pages
This commit is contained in:
parent
843ac2a351
commit
6b5cb2455e
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@
|
|||
- if build.duration
|
||||
%p.duration
|
||||
= custom_icon("icon_timer")
|
||||
#{duration_in_words(build.finished_at, build.started_at)}
|
||||
= duration_in_numbers(build.finished_at, build.started_at)
|
||||
|
||||
- if build.finished_at
|
||||
%p.finished-at
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
- if build.duration
|
||||
%p.duration
|
||||
= custom_icon("icon_timer")
|
||||
#{duration_in_words(build.finished_at, build.started_at)}
|
||||
= duration_in_numbers(build.finished_at, build.started_at)
|
||||
- if build.finished_at
|
||||
%p.finished-at
|
||||
= icon("calendar")
|
||||
|
|
Loading…
Reference in a new issue