I have a simple L5 application, where I have to output some dates in a different language and therefore I am using jenssegers/laravel-date package
Yet, if I try to use jenssegers new package on my data stored in my database, I don't get the translation, see here:
index.blade.php
@extends('app')
@section('content')
use Jenssegers\Date\Date;
// This returns 'vor 0 Sekunden' in German, which I do want.
echo Date::now()->diffForHumans();
echo '<br/>';
// This returns '1 day ago'. It is in English, but I need it in German.
echo $orders->find(1)->created_at->diffForHumans();
@endsection
Would appreciate any help.