ivy-wallet icon indicating copy to clipboard operation
ivy-wallet copied to clipboard

[BUG] Incorrect relative date shown for planned payments

Open ynshung opened this issue 3 months ago • 6 comments

Please confirm the following

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

  1. Create a daily planned payments
  2. See the discrepancy in the main page

Expected behavior

The (today/tomorrow/yesterday) date should be correct.

Screenshots

IMG_20240322_132935 IMG_20240322_133004

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.

ynshung avatar Mar 22 '24 05:03 ynshung