From c153bd1338cd6f726223d17f2fcdd89965ee61c2 Mon Sep 17 00:00:00 2001 From: structix Date: Wed, 6 Jun 2018 21:59:58 +0200 Subject: [PATCH] date expects a unix timestamp --- tippspiel/resources/views/dashboard.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tippspiel/resources/views/dashboard.blade.php b/tippspiel/resources/views/dashboard.blade.php index 995f140..66d86ae 100644 --- a/tippspiel/resources/views/dashboard.blade.php +++ b/tippspiel/resources/views/dashboard.blade.php @@ -36,7 +36,7 @@ @foreach($matches as $match) - {!! date('d.M.y H:i', $match->date) !!} + {!! date('d.M.y H:i', strtotime($match->date)) !!} {!! $teams->find($match->teama)->name !!} {!! $teams->find($match->teamb)->name !!} {!! $match->resulta . ':' . $match->resultb !!}