Properly parse dates with moment
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -529,7 +529,7 @@ export default {
|
|||||||
return moment(date).locale(this.locale).format('LLL')
|
return moment(date).locale(this.locale).format('LLL')
|
||||||
},
|
},
|
||||||
parse(value) {
|
parse(value) {
|
||||||
return moment(value, 'LLL', this.locale).toDate()
|
return moment(value).toDate()
|
||||||
},
|
},
|
||||||
showModal() {
|
showModal() {
|
||||||
this.$store.dispatch('setCardDetailsInModal', true)
|
this.$store.dispatch('setCardDetailsInModal', true)
|
||||||
|
|||||||
Reference in New Issue
Block a user