Commit 90b67922 authored by Christophe Benz's avatar Christophe Benz

Format pipeline duration with humanfriendly

parent 9cd7015f
Pipeline #166136 passed with stage
in 2 minutes and 36 seconds
......@@ -57,7 +57,7 @@
<br>
updated: {{ local_time(pipeline.updated_at) if pipeline.updated_at else "?" }}
<br>
duration: {{ pipeline.duration if pipeline.duration is not none else "?" }}
duration: {{ humanfriendly.format_timespan(pipeline.duration) if pipeline.duration else "?" }}
{% endmacro %}
{% macro job_icon(job) %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment