summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/Properties/PropertyDateTime.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Properties/PropertyDateTime.vue b/src/components/Properties/PropertyDateTime.vue
index 49411b10..1d8b1b6a 100644
--- a/src/components/Properties/PropertyDateTime.vue
+++ b/src/components/Properties/PropertyDateTime.vue
@@ -133,6 +133,9 @@ export default {
stringify: (date) => {
return date ? this.formatDateTime() : null
},
+ parse: (value) => {
+ return value ? moment(value, ['LL', 'L']).toDate() : null
+ },
},
}
},