diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-08-07 16:14:30 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-08-07 16:14:30 +0200 |
commit | 8cd6f9a1133570ab2f0d595f65dffcc9aeab7f96 (patch) | |
tree | 64e90a8a1d40cb643acc302d5511aaa02b9fbd0b | |
parent | 520f6422ac5e49133d4ad4a48d4a89a5a3fac54d (diff) | |
parent | 93ba64a69f7458a610bd9c2f3b1988323aa90504 (diff) | |
download | nextcloud-server-8cd6f9a1133570ab2f0d595f65dffcc9aeab7f96.tar.gz nextcloud-server-8cd6f9a1133570ab2f0d595f65dffcc9aeab7f96.zip |
Merge pull request #10172 from owncloud/fix-8802
Use relative, human readable dates in OC.filePickers - Fixes #8802
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
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 = { |