Commit 77482829 authored by Regis's avatar Regis

better comment [ci skip]

parent 04a4520c
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
}, },
}, },
computed: { computed: {
// need started_at or created_at for finish and running
finishdate() { finishdate() {
// need started_at or created_at here
const date = new Date( const date = new Date(
new Date( new Date(
this.pipeline.details.finished_at this.pipeline.details.finished_at
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
); );
}, },
runningdate() { runningdate() {
// need started_at or created_at at here
const date = new Date( const date = new Date(
new Date().getTime() - new Date(this.pipeline.started_at).getTime() new Date().getTime() - new Date(this.pipeline.started_at).getTime()
); );
......
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