diff options
-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); } |