Spielerliste alphabetisch sortieren

This commit is contained in:
Torsten 2017-08-03 20:47:51 +02:00
parent 3f17c76403
commit 0d57d3129b
4 changed files with 39 additions and 6 deletions

View file

@ -55,7 +55,7 @@ class Game extends Model
$now=Carbon\Carbon::now();
if (!$game->hasResult()) {
if ($game->kickoff > $now) return "Anstoss: " . $game->kickoff;
if ($game->kickoff > $now) return "-";
$start=Carbon\Carbon::parse($game->kickoff);
$end=$start->addHours(2);