Timestamps in UI sometimes shows elapsed hours but renders days
It seems the date and time which are shown by Gitlab.com are sometimes incrrect. Here the "Jobs" view of my CI Jobs:
Today is June 16th, all the jobs were executed yesterday (June 15th) but the text shown in the table says "vor 20 Tagen" or "vor 22 Tagen" which means 20 or 22 days ago.
Clicking on a commit which was done yesterday but is rendered as "vor 20 Tagen" i see this:
Well this is consistent with the Jobs-view but is also nonsense, because the commit was done yesterday, not 20 days ago.
In contrast of this, the pipeline view seams correct:
Here you see everything is ok. And with the pipelineview in mind i think the other views should not show "vor xxx Tagen" (xxx days ago) but they should be rendered "vor xxx Stunden" (xxx hours ago). I think your code shows the elapsed hours but renders them as days.