diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-13 14:25:45 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:22:38 +0200 |
commit | 49f9b7ea8e59fa6c120a583fbf3fe9efd324c603 (patch) | |
tree | 7bd2e812558db72112ad372eb112ba1ed23643fd /apps | |
parent | 455fbafb484cb816307317f93a4d4018f8c2a429 (diff) | |
download | nextcloud-server-49f9b7ea8e59fa6c120a583fbf3fe9efd324c603.tar.gz nextcloud-server-49f9b7ea8e59fa6c120a583fbf3fe9efd324c603.zip |
fix modified date for external shares
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/ajax/shareinfo.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/ajax/shareinfo.php b/apps/files_sharing/ajax/shareinfo.php index c5764867d56..e3735ddadd5 100644 --- a/apps/files_sharing/ajax/shareinfo.php +++ b/apps/files_sharing/ajax/shareinfo.php @@ -56,12 +56,14 @@ function getChildInfo($dir, $view) { if ($child->getType() === 'dir') { $formated['children'] = getChildInfo($child, $view); } + $formated['mtime'] = $formated['mtime'] / 1000; $result[] = $formated; } return $result; } $result = \OCA\Files\Helper::formatFileInfo($rootInfo); +$result['mtime'] = $result['mtime'] / 1000; if ($rootInfo->getType() === 'dir') { $result['children'] = getChildInfo($rootInfo, $rootView); } |