diff --git a/app/Livewire/BettypeToggle.php b/app/Livewire/BettypeToggle.php index 23558bed..8704dd88 100644 --- a/app/Livewire/BettypeToggle.php +++ b/app/Livewire/BettypeToggle.php @@ -152,7 +152,7 @@ class BettypeToggle extends Component public function countBookmaker() { $this->bookmakerCount = EventBookmaker::where('bookmaker_id', auth()->user()->bookmaker_id) - ->where('starttime', '>', Carbon::now()) + ->where('starttime', '>', Carbon::now()->timezone('CET')) ->where('sport_id', auth()->user()->sport_id) ->count(); } @@ -160,7 +160,7 @@ class BettypeToggle extends Component public function countPartner() { $this->partnerCount = EventBookmaker::where('bookmaker_id', auth()->user()->partner_bookmaker_id) - ->where('starttime', '>', Carbon::now()) + ->where('starttime', '>', Carbon::now()->timezone('CET')) ->where('sport_id', auth()->user()->sport_id) ->count();