Browse Source

formatDate needs class or integer as a parameter

tags/1.1.22
Victor Dubiniuk 7 years ago
committed by Tobias Hintze
parent
commit
d9e5e440f9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/documents.php

+ 1
- 1
templates/documents.php View File

@@ -13,7 +13,7 @@
<td>
<a target="_blank" href="<?php p(\OCP\Util::linkToAbsolute('files','download.php').'&file='.urlencode($entry['url']).'&name='.urlencode($entry['name'])) ?>"><?php p($entry['name'])?></a>
</td>
<td><?php p(\OCP\Util::formatDate($entry['mtime'])); ?></td>
<td><?php p(\OCP\Util::formatDate(intval($entry['mtime']))); ?></td>
<td><?php p(\OCP\Util::humanFileSize($entry['size'])); ?></td>
</tr>
<?php } ?>


Loading…
Cancel
Save