Properly parse dates with moment

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-09-11 08:24:57 +02:00
parent 1da9b7dfd0
commit 463d4ee117

View File

@@ -529,7 +529,7 @@ export default {
return moment(date).locale(this.locale).format('LLL')
},
parse(value) {
return moment(value, 'LLL', this.locale).toDate()
return moment(value).toDate()
},
showModal() {
this.$store.dispatch('setCardDetailsInModal', true)