diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-05-31 11:33:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 11:33:52 +0200 |
commit | c10eb88ae9f6d6f194cc1d3aa9ec9bef9b971d4d (patch) | |
tree | 4ac9d638fa975a2f76ebaf9e6d15c7193b88bdaa /src | |
parent | 6ee9501ac0a7a1de7dc26f3b0ed519ebbec6867f (diff) | |
parent | 95a65a5a9e1b9d18267e62a1f37adc8d19d115a2 (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.vue | 3 |
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 + }, }, } }, |