Try to use localized date format

This commit is contained in:
2018-06-06 21:52:35 +02:00
parent eb6a091f3d
commit 476eb91f6a

View File

@@ -36,7 +36,7 @@
<tbody> <tbody>
@foreach($matches as $match) @foreach($matches as $match)
<tr> <tr>
<td>{!! $match->date !!}</td> <td>{!! $match->date->formatLocalized('%A %d %B %Y'); !!}</td>
<td>{!! $teams->find($match->teama)->name !!}</td> <td>{!! $teams->find($match->teama)->name !!}</td>
<td>{!! $teams->find($match->teamb)->name !!}</td> <td>{!! $teams->find($match->teamb)->name !!}</td>
<td>{!! $match->resulta . ':' . $match->resultb !!}</td> <td>{!! $match->resulta . ':' . $match->resultb !!}</td>