Fix oldCreated date format when the created date was changed#33688
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-08.at.9.20.18.PM.movAndroid: mWeb ChromeScreen.Recording.2024-01-08.at.8.29.25.PM.moviOS: NativeScreen.Recording.2024-01-08.at.8.31.09.PM.movMacOS: Chrome / SafariScreen.Recording.2024-01-06.at.2.06.26.PM.movMacOS: DesktopScreen.Recording.2024-01-08.at.9.32.04.PM.mov |
|
@wlegolas I am not able to reproduce the issue on staging can you confirm? |
Hi @getusha, I tested it here on staging and it's still happening. staging-error.movI don't know if it's your case but usually, people east of GMT (most non-US) may not see this bug because |
|
Hi @youssef-lr if you have any questions or suggestions, please let me know. |
| changeFragments, | ||
| ); | ||
| } | ||
| buildMessageFragmentForCreated(setFragments, removalFragments, changeFragments, reportActionOriginalMessage); |
There was a problem hiding this comment.
Q: what was the need for extracting this logic into a function? I can't see this function used more than once so I'm not sure it's necessary
There was a problem hiding this comment.
I just extracted the code block responsible for building the message for the property created to this function. My idea was to decrease the complexity of the parent function getForReportAction, but if you disagree I can move the code from the buildMessageFragmentForCreated function and put it here.
There was a problem hiding this comment.
Yeah I think as that logic is not really reusable there's no need to extract it to a function, I think it helps for readability if it stays there, instead of making the reader jump to a different location. Thanks!
There was a problem hiding this comment.
Sure I understood your points, I'll change here.
…he removed method
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.25-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.25-10 🚀
|

Details
oldCreateddate without the timezone informationFixed Issues
$ #33248
PROPOSAL: #33248 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
evidence-Android-Native.mov
Android: mWeb Chrome
evidence-Android-mWeb-Chrome.mov
iOS: Native
evidence-iOS-Native.mov
iOS: mWeb Safari
evidence-iOS-mWeb-Safari.mov
MacOS: Chrome / Safari
Chrome
evidence-MacOS-Chrome.mp4
Safari
evidence-MacOS-Safari.mp4
MacOS: Desktop
evidence-MacOS-Desktop.mp4