summaryrefslogtreecommitdiffstats
path: root/core/js/files/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/files/client.js')
-rw-r--r--core/js/files/client.js2
1 files changed, 1 insertions, 1 deletions
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'];