summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2022-05-31 11:33:52 +0200
committerGitHub <noreply@github.com>2022-05-31 11:33:52 +0200
commitc10eb88ae9f6d6f194cc1d3aa9ec9bef9b971d4d (patch)
tree4ac9d638fa975a2f76ebaf9e6d15c7193b88bdaa /src
parent6ee9501ac0a7a1de7dc26f3b0ed519ebbec6867f (diff)
parent95a65a5a9e1b9d18267e62a1f37adc8d19d115a2 (diff)
Merge pull request #2732 from MrPompom/main
Allow to input the Date by hand
Diffstat (limited to 'src')
-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
+ },
},
}
},