From 181ba7b4e190a12a905bc602cbeaba655d382dab Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 16 Dec 2015 17:44:16 +0100 Subject: Fix files UI mtime parsing from webdav --- core/js/files/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js/files') diff --git a/core/js/files/client.js b/core/js/files/client.js index 608c2702fbb..8854ee0c809 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -253,7 +253,7 @@ id: props['{' + Client.NS_OWNCLOUD + '}fileid'], path: OC.dirname(path) || '/', name: OC.basename(path), - mtime: new Date(props['{' + Client.NS_DAV + '}getlastmodified']) + mtime: (new Date(props['{' + Client.NS_DAV + '}getlastmodified'])).getTime() }; var etagProp = props['{' + Client.NS_DAV + '}getetag']; -- cgit v1.2.3