From 02b5ded8403f9027d15739b1dea53ec2187bee93 Mon Sep 17 00:00:00 2001
From: Gary Kim <gary@garykim.dev>
Date: Fri, 17 Apr 2020 21:10:42 +0800
Subject: Fix share expiration date not shown

Signed-off-by: Gary Kim <gary@garykim.dev>
---
 apps/files_sharing/src/components/SharingEntryLink.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')

diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index c7771cc8104..5e15db16685 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -104,6 +104,7 @@
 				:lang="lang"
 				icon=""
 				type="date"
+				value-type="format"
 				:not-before="dateTomorrow"
 				:not-after="dateMaxEnforced">
 				<!-- let's not submit when picked, the user
@@ -227,6 +228,7 @@
 						:first-day-of-week="firstDay"
 						:lang="lang"
 						:value="share.expireDate"
+						value-type="format"
 						icon="icon-calendar-dark"
 						type="date"
 						:not-before="dateTomorrow"
-- 
cgit v1.2.3

