From f7a6d3a68ce08ad222f5cff20cfe1f61579affe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Fri, 7 Sep 2018 16:44:01 +0200 Subject: Json data fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- src/components/Properties/PropertyDateTime.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/Properties') 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' -- cgit v1.2.3