diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 243aca8..c558fc7 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -16,7 +16,7 @@ class AppServiceProvider extends ServiceProvider public function boot() { Carbon::macro('diffForHumansAt', function () { - $diffDays = $this->diffInDays(); + $diffDays = $this->diffInDays(self::now()->endOfDay()); switch ($diffDays) { case 0: $time = 'Today';