From: Tom Needham Date: Thu, 7 Aug 2014 12:40:52 +0000 (+0100) Subject: Use human readable relative date for oc-dialog-filepickers X-Git-Tag: v8.0.0alpha1~950^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=93ba64a69f7458a610bd9c2f3b1988323aa90504;p=nextcloud-server.git Use human readable relative date for oc-dialog-filepickers --- diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 9b767930c10..7f87e1a6f3e 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -635,7 +635,7 @@ var OCdialogs = { type: entry.type, dir: dir, filename: entry.name, - date: OC.mtime2date(Math.floor(entry.mtime / 1000)) + date: relative_modified_date(entry.mtime/1000) }); if (entry.isPreviewAvailable) { var urlSpec = {