mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 17:52:15 +01:00
Fixed endOfWeek bug
This commit is contained in:
committed by
Constantin Graf
parent
474c0de3ac
commit
802d9558a3
@@ -122,7 +122,7 @@ class DashboardService
|
||||
{
|
||||
return $builder->whereBetween('start', [
|
||||
Carbon::now($timeZone)->startOfWeek($startOfWeek->carbonWeekDay())->utc(),
|
||||
Carbon::now($timeZone)->endOfWeek($startOfWeek->carbonWeekDay())->utc(),
|
||||
Carbon::now($timeZone)->endOfWeek($startOfWeek->toEndOfWeek()->carbonWeekDay())->utc(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user