mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
style decay start date
This commit is contained in:
parent
f03e8d0167
commit
9a368483ae
@ -52,14 +52,20 @@ export default {
|
|||||||
diff: {},
|
diff: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
console.log("start", start)
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDuration(start, end) {
|
getDuration(start, end) {
|
||||||
|
console.log("start", start)
|
||||||
|
console.log("end", end)
|
||||||
this.a = new Date(start)
|
this.a = new Date(start)
|
||||||
this.b = new Date(end)
|
this.b = new Date(end)
|
||||||
this.a = this.$moment.unix(this.a)
|
this.a = this.$moment.unix(this.a)
|
||||||
this.b = this.$moment.unix(this.b)
|
this.b = this.$moment.unix(this.b)
|
||||||
this.diff = this.$moment.duration(this.a.diff(this.b))
|
this.diff = this.$moment.duration(this.a.diff(this.b))
|
||||||
this.duration = this.diff._data
|
this.duration = this.diff._data
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
<gdd-transaction-list
|
<gdd-transaction-list
|
||||||
v-if="showContext"
|
v-if="showContext"
|
||||||
:transactions="transactions"
|
:transactions="transactions"
|
||||||
:page-size="5"
|
:pageSize="5"
|
||||||
:timestamp="timestamp"
|
:timestamp="timestamp"
|
||||||
:transaction-count="transactionCount"
|
:transaction-count="transactionCount"
|
||||||
@update-transactions="updateTransactions"
|
@update-transactions="updateTransactions"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user