Commit 6eb37284 authored by Regis's avatar Regis

format - [ci skip]

parent 81ae6c7d
...@@ -25,18 +25,14 @@ ...@@ -25,18 +25,14 @@
}, },
timeStopped() { timeStopped() {
const changeTime = this.currentTime; const changeTime = this.currentTime;
const options = { const options = {
weekday: 'long', weekday: 'long',
year: 'numeric', year: 'numeric',
month: 'short', month: 'short',
day: 'numeric', day: 'numeric',
}; };
options.timeZoneName = 'short'; options.timeZoneName = 'short';
const finished = this.pipeline.details.finished_at; const finished = this.pipeline.details.finished_at;
if (!finished && changeTime) return false; if (!finished && changeTime) return false;
return ({ words: gl.utils.getTimeago().format(finished) }); return ({ words: gl.utils.getTimeago().format(finished) });
}, },
......
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