How get a day with a carbon by German in Laravel?
Try:
return $item->formatLocalized('%A, %d.%m.%Y %H:%M');
Need:
Montag, 17.04.2017 10:00
Advertisement
Answer
Did you put this on bootstrap/app.php
setlocale(LC_TIME, 'German');
How get a day with a carbon by German in Laravel?
Try:
return $item->formatLocalized('%A, %d.%m.%Y %H:%M');
Need:
Montag, 17.04.2017 10:00
Did you put this on bootstrap/app.php
setlocale(LC_TIME, 'German');