You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My appologies wasnt able to create a pull request.
This is just an update to Trend.php on how the date records are queried based on the start and end dates provided.
Originally if doing a count by month, day, or year the "start" and "end" dates are Carbon instances and would include the time in the query which was excluding some records. The solution I came up with is based on the aggregation which formats the Carbon instances to better align with the periods being queried. There may be another solution but this worked for me.
The text was updated successfully, but these errors were encountered:
My appologies wasnt able to create a pull request.
This is just an update to Trend.php on how the date records are queried based on the start and end dates provided.
Originally if doing a count by month, day, or year the "start" and "end" dates are Carbon instances and would include the time in the query which was excluding some records. The solution I came up with is based on the aggregation which formats the Carbon instances to better align with the periods being queried. There may be another solution but this worked for me.
The text was updated successfully, but these errors were encountered: