-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$250] Submit Expense-Allow location is not shown if device time is set to 7 days in the future #50594
Comments
Triggered auto assignment to @VictoriaExpensify ( |
@VictoriaExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-10-11 02:45:02 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue."Allow location" modal is not shown when submitting expense, if the device time is set to 7 days in the future. It is shown, if the device time is set to 8+ days in the future. What is the root cause of that problem?
Lines 834 to 836 in 4c90d62
so differenceInDays(new Date('2024-10-11T09:58:02.872Z'), new Date('2024-10-04T08:58:02.872Z')) is just 7 days.
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
Oh I think this issue has already been reported, let me check |
Hmm it's similar but not exact - #50042 Checking to see if the solution for that ^^ will resolve this issue |
@VictoriaExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~021847038773485635214 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
Sorry, I'm just re-reading this issue - this sounds extremely niche. I can't think of any good reason someone would set the time on their device to 7 days in the future. I don't think we should put effort into fixing this |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.47-1
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #48237
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
"Allow location" modal is shown when submitting expense if the device time is set to one week in the future
Actual Result:
"Allow location" modal is not shown when submitting expense, if the device time is set to 7 days in the future. It is shown, if the device time is set to 8+ days in the future.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6630930_1728578631029.Allow_location_modal.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: