New bootstrap-based layout #30

Merged
Roflin merged 79 commits from bootstrap into master 2023-03-14 19:11:25 +01:00
Showing only changes of commit 41881594e9 - Show all commits

View File

@ -79,7 +79,7 @@ class PhotoMosaic
return -$priority_diff; return -$priority_diff;
// In other cases, we'll just show the newest first. // In other cases, we'll just show the newest first.
return $a->getDateCaptured() > $b->getDateCaptured() ? -1 : 1; return $a->getDateCaptured() <=> $b->getDateCaptured();
} }
private static function daysApart(Image $a, Image $b) private static function daysApart(Image $a, Image $b)