blob: c83ee9115dc21f2dc4f2ef5b2d6e69285cf89fae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- HTTP/WebDAV/Tools/_parse_propfind_response.php.orig 2015-06-15 22:46:16.736000000 +0200
+++ HTTP/WebDAV/Tools/_parse_propfind_response.php 2015-06-15 22:46:23.841000000 +0200
@@ -98,9 +98,7 @@
$this->_tmpprop['mtime'] = strtotime($this->_tmpdata);
break;
case 'creationdate':
- $t = preg_split("/[^[:digit:]]/", $this->_tmpdata);
- $this->_tmpprop['ctime'] = mktime($t[3], $t[4], $t[5], $t[1], $t[2], $t[0]);
- unset($t);
+ $this->_tmpprop['ctime'] = strtotime($this->_tmpdata);
break;
case 'getcontentlength':
$this->_tmpprop['size'] = $this->_tmpdata;
|