When I change my application locale to danish, it does not change Carbon language.
If I do:
app()->getLocale(); // da (danish) $mymodel->created_at->getLocale(); // en
How can I get Laravel to set its Carbon instance to the current locale? I have tried setting
Carbon::setLocale('da') in a middleware, and that works if I do
Carbon\Carbon::now()->getLocale(), but not for eloquent models.