Spielerliste alphabetisch sortieren
This commit is contained in:
parent
3f17c76403
commit
0d57d3129b
4 changed files with 39 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue