aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/models/Share.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/models/Share.js')
-rw-r--r--apps/files_sharing/src/models/Share.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/src/models/Share.js b/apps/files_sharing/src/models/Share.js
index bc35cefb1a7..9b1535184a0 100644
--- a/apps/files_sharing/src/models/Share.js
+++ b/apps/files_sharing/src/models/Share.js
@@ -250,7 +250,7 @@ export default class Share {
/**
* Get the expiration date
*
- * @return {Date|null}
+ * @return {string} date with YYYY-MM-DD format
* @readonly
* @memberof Share
*/
@@ -261,7 +261,7 @@ export default class Share {
/**
* Set the expiration date
*
- * @param {Date|null} date the share expiration date
+ * @param {string} date the share expiration date with YYYY-MM-DD format
* @memberof Share
*/
set expireDate(date) {