diff options
author | Regis <boudinot.regis@yahoo.com> | 2016-11-30 09:30:06 -0700 |
---|---|---|
committer | Regis <boudinot.regis@yahoo.com> | 2016-11-30 09:30:06 -0700 |
commit | 6eb3728490cbf33ea3e401653a5da0ab290c6f52 (patch) | |
tree | 167408efcbbc150bd49f347168cbc83b6f00497f | |
parent | 81ae6c7d0a38bb66289c5d83239255ce5cdfcea5 (diff) | |
download | gitlab-ce-realtime-pipeline-index-vue.tar.gz |
format - [ci skip]realtime-pipeline-index-vue
-rw-r--r-- | app/assets/javascripts/vue_pipelines_index/time_ago.js.es6 | 4 |
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) }); }, |