summaryrefslogtreecommitdiffstats
path: root/core/js/files
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-16 17:44:16 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-16 17:44:16 +0100
commit181ba7b4e190a12a905bc602cbeaba655d382dab (patch)
treefee5be7b53264b9ad8727ebba562ec3d6cbbe241 /core/js/files
parent9a4ab698b73ce42df5815306757313334cd825de (diff)
downloadnextcloud-server-181ba7b4e190a12a905bc602cbeaba655d382dab.tar.gz
nextcloud-server-181ba7b4e190a12a905bc602cbeaba655d382dab.zip
Fix files UI mtime parsing from webdav
Diffstat (limited to 'core/js/files')
-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'];