Skip to content

Pipeline duration is shown modulo 24 hours in the list

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The shown duration for pipelines over 24 hours is displayed modulo 24 hours in the list view

Steps to reproduce

Have a pipeline running longer than 24 hours. Check the list view of pipelines afterwards.

What is the current bug behavior?

The duration is shown modulo 24 hours.

What is the expected correct behavior?

The duration should be shown correctly, like the list of jobs already does.

Relevant logs and/or screenshots

List of Pipelines is wrong:

2021-01-15_12-43

List of Jobs is correct:

2021-01-15_12-44

Results of GitLab environment info

Found with GitLab 13.7.1

Possible fixes

As the Jobs list is correct, there is probably the proper duration formatting code to be reused.

Edited by 🤖 GitLab Bot 🤖