diff --git a/src/LivewireCalendar.php b/src/LivewireCalendar.php index 1204a8d..b458faf 100755 --- a/src/LivewireCalendar.php +++ b/src/LivewireCalendar.php @@ -163,8 +163,8 @@ public function goToCurrentMonth() public function calculateGridStartsEnds() { - $this->gridStartsAt = $this->startsAt->clone()->startOfWeek($this->weekStartsAt); - $this->gridEndsAt = $this->endsAt->clone()->endOfWeek($this->weekEndsAt); + $this->gridStartsAt = $this->startsAt->clone()->startOfWeek($this->weekStartsAt)->shiftTimezone(config('app.timezone'));; + $this->gridEndsAt = $this->endsAt->clone()->endOfWeek($this->weekEndsAt)->shiftTimezone(config('app.timezone'));; } /**