summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/vue_pipelines_index/time_ago.js.es64
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/vue_pipelines_index/time_ago.js.es6 b/app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
index c078e9459f0..de6eec9bc5b 100644
--- a/app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
+++ b/app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
@@ -25,18 +25,14 @@
},
timeStopped() {
const changeTime = this.currentTime;
-
const options = {
weekday: 'long',
year: 'numeric',
month: 'short',
day: 'numeric',
};
-
options.timeZoneName = 'short';
-
const finished = this.pipeline.details.finished_at;
-
if (!finished && changeTime) return false;
return ({ words: gl.utils.getTimeago().format(finished) });
},