summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = {