While running a filter query to get records within a specific date range, I noticed that it's including records from a day before the actual range. Here is an example:
.whereBetween('created_at', [dateRange.from, dateRange.to]);
https://i.sstatic.net/aiKrx.png
For instance, when selecting 01/19/2022 - 01/26/2022
, it retrieves a record from 01/18/2022
inexplicably. Has anyone encountered this issue and knows why it might be happening?