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

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

代码示例6
{{ $post->created_at->diffForHumans() }}
  /*
      //Output
  Arya Stuck 14 minutes ago
  Post something 
  
  Mizan Khan 23 hours ago
  Post something
  */