summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2014-08-07 13:40:52 +0100
committerTom Needham <tom@owncloud.com>2014-08-07 13:40:52 +0100
commit93ba64a69f7458a610bd9c2f3b1988323aa90504 (patch)
tree0a359375298b68becadce874286e7bb77dc3acc9 /core/js
parentc0e78d984140ecd6a49ac615214b4a68fab0557e (diff)
downloadnextcloud-server-93ba64a69f7458a610bd9c2f3b1988323aa90504.tar.gz
nextcloud-server-93ba64a69f7458a610bd9c2f3b1988323aa90504.zip
Use human readable relative date for oc-dialog-filepickers
Diffstat (limited to 'core/js')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
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 = {