Revert using timestamps for created when submitting money requests#43319
Merged
Conversation
Contributor
|
@pecanoro Interesting coincidence that I got assigned for review. Does this PR require C+ testing and review? |
Contributor
Author
|
@akinwale Yes, please, just to make sure I didn't break anything important in each flow! |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safari43319-web-1.mp443319-web-2.mp443319-web-3.mp443319-web-4.mp4MacOS: Desktop |
Contributor
|
@pecanoro Looks like you need to check all boxes in the PR author checklist. |
bondydaa
approved these changes
Jun 12, 2024
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
64 tasks
Contributor
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.83-3 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
We have a big inconsistency between oldDot and newDot regarding transactions. OldDot has always stored created date as a date without any time on it (unless it was a credit card transaction). But money requests from newDot store the whole timestamp with date and time.
This is breaking duplicate detection since we have always assumed the date of the transaction does not come with a time. Because of that, I am reverting the changes in #34784
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/403012
PROPOSAL:
Tests
RequestMoneyand make sure the created date in the request does not have any time appended to the date:Track ExpenseandSplit Expense, we should never be sending the time along with the date:Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop