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

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

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