handover the correct timestamp
This commit is contained in:
parent
81953e7bb5
commit
dac539b619
|
@ -13,7 +13,7 @@ if( OCA_Versions\Storage::isversioned( $source ) ) {
|
||||||
$versionsFormatted = array();
|
$versionsFormatted = array();
|
||||||
|
|
||||||
foreach ( $versions AS $version ) {
|
foreach ( $versions AS $version ) {
|
||||||
$versionsFormatted[] = OCP\Util::formatDate( doubleval($version) );
|
$versionsFormatted[] = OCP\Util::formatDate( $version['version'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
$versionsSorted = array_reverse( $versions );
|
$versionsSorted = array_reverse( $versions );
|
||||||
|
|
Loading…
Reference in New Issue