BigW Consortium Gitlab

Commit 8d5c1df7 by Regis

added comments about need values for time_ago in Vue

parent 84764238
......@@ -22,6 +22,7 @@
},
computed: {
finishdate() {
// need started_at or created_at here
const date = new Date(
new Date(
this.pipeline.details.finished_at
......@@ -34,6 +35,7 @@
);
},
runningdate() {
// need started_at or created_at at here
const date = new Date(
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