diff options
author | Olivier Paroz <github@oparoz.com> | 2015-10-06 17:58:14 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-10-06 17:58:14 +0300 |
commit | 69cf39a29a69bf6654a5ad70657e2c6c037e72fa (patch) | |
tree | f8a782e5c9a7e11b46f0eb2816c1e2b096fd9707 /js/vendor | |
parent | 4981897a9ce7e84a715789dc0315fdbed63f17fe (diff) |
Use DD-MM-YYYY consistently in share dialogue
Port of owncloud/core#19598
Diffstat (limited to 'js/vendor')
-rw-r--r-- | js/vendor/owncloud/share.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/vendor/owncloud/share.js b/js/vendor/owncloud/share.js index 7c88b242..ac40cda8 100644 --- a/js/vendor/owncloud/share.js +++ b/js/vendor/owncloud/share.js @@ -425,7 +425,8 @@ } } if (share.expiration != null) { - OC.Share.showExpirationDate(share.expiration, share.stime); + var expireDate = moment(share.expiration, 'YYYY-MM-DD').format('DD-MM-YYYY'); + OC.Share.showExpirationDate(expireDate, share.stime); } }); } |