$comment['created_at']->diffForHumans
在app目录里的providers目录的AppServiceProvider.php文件中的boot() 方法添加如下内容
use Carbon\Carbon;
{
Carbon::setLocale('zh');
}
$comment['created_at']->diffForHumans
在app目录里的providers目录的AppServiceProvider.php文件中的boot() 方法添加如下内容
use Carbon\Carbon;
{
Carbon::setLocale('zh');
}