summaryrefslogtreecommitdiffstats
path: root/src/components/Properties
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-07 16:44:01 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-07 16:44:01 +0200
commitf7a6d3a68ce08ad222f5cff20cfe1f61579affe0 (patch)
tree886292a5d9f3f970c85416bb20c8d74207db599f /src/components/Properties
parent3e74f4e65d9b756b8a938d4aa24f252332c37a6f (diff)
Json data fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/components/Properties')
-rw-r--r--src/components/Properties/PropertyDateTime.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Properties/PropertyDateTime.vue b/src/components/Properties/PropertyDateTime.vue
index 28e4625d..475e6872 100644
--- a/src/components/Properties/PropertyDateTime.vue
+++ b/src/components/Properties/PropertyDateTime.vue
@@ -140,7 +140,7 @@ export default {
* and ths only common syntax between js Date, moment and VCardTime
*/
formatedDateTime() {
- return moment(this.localValue.toJSDate().toJSON())
+ return moment(this.localValue.toJSON())
.locale(this.locale)
.format(
this.inputType === 'datetime'