]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use human readable relative date for oc-dialog-filepickers
authorTom Needham <tom@owncloud.com>
Thu, 7 Aug 2014 12:40:52 +0000 (13:40 +0100)
committerTom Needham <tom@owncloud.com>
Thu, 7 Aug 2014 12:40:52 +0000 (13:40 +0100)
core/js/oc-dialogs.js

index 9b767930c10126b5ffc0257886cdaa465e7b7523..7f87e1a6f3eb46ccc2c3615bda089e145f8fa231 100644 (file)
@@ -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 = {