Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/vendor
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-10-06 17:58:14 +0300
committerOlivier Paroz <github@oparoz.com>2015-10-06 17:58:14 +0300
commit69cf39a29a69bf6654a5ad70657e2c6c037e72fa (patch)
treef8a782e5c9a7e11b46f0eb2816c1e2b096fd9707 /js/vendor
parent4981897a9ce7e84a715789dc0315fdbed63f17fe (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.js3
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);
}
});
}