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
{{ message }}
Repository navigation
[Insights] Reports-Expense on Sunday is not displayed in groupby list #80846
Version Number: 9.3.11-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#80684 Email or phone of affected tester (no customers):ndk.2303+224@gmail.com Issue reported by: Applause Internal Team Bug source: Pull Request QA execution Device used: Windows 11 Home/Chrome App Component: Search
Create an expense (Date: on a Sunday of a week that has not any expense; ex: 7 Sep, 2025)
Navigate to Reports
Go to Expense section
Click on Filter
Click on 'Group by' section
Select 'Week' and view result
Expand the week group that contains the expense
Expected Result:
Expense should be shown on the list of group
Actual Result:
The date of expense (Sep 7, 2025) is grouped in the previous week group (Aug 31 - Sep 6, 2025).
When the row is expanded, the expense is not displayed.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
I suspect the front-end is the culprit here, because the backend counts the expense in the group (you can see in the screen recording that the expense count is 1). But the front-end passes bad dates to the backend when the user pulls the expenses from the group
I suspect the front-end is the culprit here, because the backend counts the expense in the group (you can see in the screen recording that the expense count is 1). But the front-end passes bad dates to the backend when the user pulls the expenses from the group
@lakchote, I believe the groupBy query is returning incorrect results: it is returning a Sunday date as the group key, but the group count starts from Monday.
changed the title [-]Reports-Expense on Sunday is not displayed in groupby list[/-][+][Insights] Reports-Expense on Sunday is not displayed in groupby list[/+]on Jan 30, 2026
Activity
melvin-bot commentedon Jan 29, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #80684
melvin-bot commentedon Jan 29, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Jan 29, 2026
Triggered auto assignment to @brianlee-expensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Jan 29, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
shubham1206agra commentedon Jan 29, 2026
@neil-marcellini @cristipaval @lakchote Another BE issue as I can see the query is correct from FE
6 remaining items
lakchote commentedon Jan 29, 2026
It will be fixed in https://github.com/Expensify/Auth/pull/19617
cristipaval commentedon Jan 29, 2026
I suspect the front-end is the culprit here, because the backend counts the expense in the group (you can see in the screen recording that the expense count is 1). But the front-end passes bad dates to the backend when the user pulls the expenses from the group
lakchote commentedon Jan 30, 2026
cc @shubham1206agra you said above in #80846 (comment), that the query looked correct?
shubham1206agra commentedon Jan 30, 2026
@lakchote, I believe the groupBy query is returning incorrect results: it is returning a Sunday date as the group key, but the group count starts from Monday.
lakchote commentedon Jan 30, 2026
@cristipaval we might want the backend fix I put in https://github.com/Expensify/Auth/pull/19617 that was reverted to have incremental changes
[-]Reports-Expense on Sunday is not displayed in groupby list[/-][+][Insights] Reports-Expense on Sunday is not displayed in groupby list[/+]cristipaval commentedon Feb 2, 2026
On my list for today
trjExpensify commentedon Feb 5, 2026
This was fixed in Auth right, can we close it?
lakchote commentedon Feb 6, 2026
Correct, closing it.