📜  laravel created_at where 日期格式 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:04.125000             🧑  作者: Mango

代码示例3
$post->created_at->diffForHumans()
  /*
  Arya Stuck 14 minutes ago
  Post something 
  */