ivy-wallet
ivy-wallet copied to clipboard
[BUG] Incorrect relative date shown for planned payments
Please confirm the following
- [X] I checked the current issues for duplicate problems
Describe the bug
The day (yesterday/today/tomorrow) date is incorrect for planned payments.
The date when the screenshot is taken is 22/3/2024 and you can see at the bottom is correctly written as "Today", but you can see the discrepancy with the overdue planned payments date writes "Yesterday". It also applies to upcoming payment as shown in the second screenshot which shows Today's date incorrectly.
To Reproduce
- Create a daily planned payments
- See the discrepancy in the main page
Expected behavior
The (today/tomorrow/yesterday) date should be correct.
Screenshots
Smartphone
Poco F3, MIUI 14.0.8, Android 13
Additional context
In the screenshot, the 22/3/2024 planned payment should not be overdue as well since the day is not passed yet.