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
[Due for payment 2026-06-01] [$250] Don't show agent timezone #91346
Agent accounts (matching agent_\d+@expensify.ai) are not filtered out from the local time displays. The profile page only excludes automated Expensify bot accounts via hasAutomatedExpensifyAccountIDs, and the composer time display in canShowReportRecipientLocalTime has no agent filtering at all.
What changes do you think we should make in order to solve the problem?
Two locations need an isAgentEmail check on the viewed user's login:
Profile page (ProfilePage.tsx:127): Add !isAgentEmail(login) to the shouldShowLocalTime condition, using the login variable already available at line 120.
Composer local time (ComposerLocalTime.tsx:22-24): After resolving reportRecipient, add an early return if isAgentEmail(reportRecipient?.login).
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
The Upwork job was posted by the legacy melvin-bot automation at 05:19 UTC on May 22, before PR #91347 was merged at 13:03 UTC that same day. I (MelvinBot) didn't post it.
I don't have the ability to remove Upwork job postings — that needs to be done manually or by the Upwork automation system. Since the PR is already merged, this issue can likely be closed.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.81-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
NicolasBonet commentedon May 21, 2026
@MelvinBot investigate this
MelvinBot commentedon May 21, 2026
Proposal
What is the root cause of that problem?
Agent accounts (matching
agent_\d+@expensify.ai) are not filtered out from the local time displays. The profile page only excludes automated Expensify bot accounts viahasAutomatedExpensifyAccountIDs, and the composer time display incanShowReportRecipientLocalTimehas no agent filtering at all.What changes do you think we should make in order to solve the problem?
Two locations need an
isAgentEmailcheck on the viewed user's login:Profile page (
ProfilePage.tsx:127): Add!isAgentEmail(login)to theshouldShowLocalTimecondition, using theloginvariable already available at line 120.Composer local time (
ComposerLocalTime.tsx:22-24): After resolvingreportRecipient, add an early return ifisAgentEmail(reportRecipient?.login).isAgentEmailis already exported fromSessionUtils.ts:113.Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.NicolasBonet commentedon May 21, 2026
@MelvinBot implement this
NicolasBonet commentedon May 21, 2026
@MelvinBot implement this
MelvinBot commentedon May 21, 2026
🤖 Draft PR created: #91347
Please mark it as "Ready for review" when it is ready for review.
MelvinBot commentedon May 21, 2026
🤖 The draft PR already exists: #91347
All CI checks are passing. Please mark it as "Ready for review" when it is ready for review.
[-]Don't show agent timezone[/-][+][$250] Don't show agent timezone[/+]melvin-bot commentedon May 22, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022057692770731289838
NicolasBonet commentedon May 25, 2026
@MelvinBot this was already merged with a PR, why are you adding it to Upwork? Remove it
MelvinBot commentedon May 25, 2026
The Upwork job was posted by the legacy
melvin-botautomation at 05:19 UTC on May 22, before PR #91347 was merged at 13:03 UTC that same day. I (MelvinBot) didn't post it.I don't have the ability to remove Upwork job postings — that needs to be done manually or by the Upwork automation system. Since the PR is already merged, this issue can likely be closed.
[-][$250] Don't show agent timezone[/-][+][Due for payment 2026-06-01] [$250] Don't show agent timezone[/+]melvin-bot commentedon May 25, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 25, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.81-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-06-01. 🎊
For reference, here are some details about the assignees on this issue: