[Pkg-owncloud-commits] [owncloud] 32/121: Use human readable relative date for oc-dialog-filepickers

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 44ae0868fd37ec4208214deb560ec44a487ee75c
Author: Tom Needham <tom at owncloud.com>
Date:   Thu Aug 7 13:40:52 2014 +0100

    Use human readable relative date for oc-dialog-filepickers
---
 core/js/oc-dialogs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 9b76793..7f87e1a 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 = {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list