diff --git a/core/js/dist/login.js b/core/js/dist/login.js index 5a32a8a3e3d2fce9b91f7789e1ba396dad1632f4..3672e816e3e1a763344f92b229d388e8d8e77749 100644 Binary files a/core/js/dist/login.js and b/core/js/dist/login.js differ diff --git a/core/js/dist/login.js.map b/core/js/dist/login.js.map index bd9d02a591aeef3236156a1ecefcc8b6b0762f3f..412e0d0d0f4042bca499bd6e22e806d86394d07f 100644 Binary files a/core/js/dist/login.js.map and b/core/js/dist/login.js.map differ diff --git a/core/js/dist/main.js b/core/js/dist/main.js index 750cee87ea8b36024f996b7c4d0b7a7a3fa89c5d..83abdb0879f57a10c0b7342a37cff69a6fb06095 100644 Binary files a/core/js/dist/main.js and b/core/js/dist/main.js differ diff --git a/core/js/dist/main.js.map b/core/js/dist/main.js.map index c96de48738e963401bdffca0b3540f7f26e2d43e..b737db995f9b4760625c7c1726b49d08c2249c51 100644 Binary files a/core/js/dist/main.js.map and b/core/js/dist/main.js.map differ diff --git a/core/js/dist/maintenance.js b/core/js/dist/maintenance.js index cfb01b6b127a4e61dfe1bae859bde82c337f1793..24412bbfa8439d1c512f0e22938b9c3f37711291 100644 Binary files a/core/js/dist/maintenance.js and b/core/js/dist/maintenance.js differ diff --git a/core/js/dist/maintenance.js.map b/core/js/dist/maintenance.js.map index 4fb1e6793466550eea5a994233c1161477e11f1c..32fb097f5436f93e446b71aaf55ee54147d408b2 100644 Binary files a/core/js/dist/maintenance.js.map and b/core/js/dist/maintenance.js.map differ diff --git a/core/src/OC/util.js b/core/src/OC/util.js index f8f7c05e6e8cb25ca6722881cc8fc17257b7bf09..67f00bf30d3b69317522e176e2712520be87ca6f 100644 --- a/core/src/OC/util.js +++ b/core/src/OC/util.js @@ -114,6 +114,7 @@ export default { * @returns {string} timestamp formatted as requested */ formatDate: function(timestamp, format) { + console.warn('OC.Util.formatDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment') format = format || 'LLL' return moment(timestamp).format(format) }, @@ -123,6 +124,7 @@ export default { * @returns {string} human readable difference from now */ relativeModifiedDate: function(timestamp) { + console.warn('OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment') const diff = moment().diff(moment(timestamp)) if (diff >= 0 && diff < 45000) { return t('core', 'seconds ago')