handover the correct timestamp

remotes/origin/stable45
Bjoern Schiessle 14 years ago
parent 81953e7bb5
commit dac539b619
  1. 2
      apps/files_versions/ajax/getVersions.php

@ -13,7 +13,7 @@ if( OCA_Versions\Storage::isversioned( $source ) ) {
$versionsFormatted = array();
foreach ( $versions AS $version ) {
$versionsFormatted[] = OCP\Util::formatDate( doubleval($version) );
$versionsFormatted[] = OCP\Util::formatDate( $version['version'] );
}
$versionsSorted = array_reverse( $versions );

Loading…
Cancel
Save