Skip to content
Snippets Groups Projects
Commit 8d5c1df7 authored by Regis Boudinot's avatar Regis Boudinot :rocket:
Browse files

added comments about need values for time_ago in Vue

parent 84764238
No related branches found
No related tags found
Loading
Pipeline #
......@@ -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()
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment