[BUG] Money in a specific account did not change anymore
Please confirm the following
- [X] I checked the current issues for duplicate problems
Describe the bug
I don't know when it happened but today when I check the account I find the Bank account balance is wrong, and I cannot change the balance even if I add a expense or a income. The INCOME and EXPENSES in balance will change but the BALANCE just keep the same. I try the demo at GitHub but still the same.
To Reproduce
Expected behavior
No response
Screenshots
App version
V2024.7.14 from Google play
Smartphone
No response
Additional context
No response
Thank you @Suien-UTTU for raising Issue #3352! 🚀 What's next? Read our Contribution Guidelines 📚.
Tagging @ILIYANGERMANOV for review & approval 👀
Well I just notice all the account balance remains now. Actually, I can make sure I used it as usually an hour before, and other accounts also work well, only one account not work. But now, all together.
It's a timezone issue. Transactions get added to the "future" which isn't included in the balance calculation
For more context, the is likely:
- Transaction time is saved as local time (+/- X UTC)
- The account balance query uses (0 UTC)
- Only happened transactions before "now" are included in the balance calculation
Hence the recent transaction is not included because it appears to be in the future.
It seems the bug appeared after this PR https://github.com/Ivy-Apps/ivy-wallet/pull/3351 @ILIYANGERMANOV
It seems the bug appeared after this PR #3351 @ILIYANGERMANOV
@PrathakGarg is it certain? If so I can revert it
Revert PR opened: https://github.com/Ivy-Apps/ivy-wallet/pull/3380
@ILIYANGERMANOV I'm not very familiar with this repo so I can't be sure but it does make sense. And the timing of the appearance of the bug matches too
Yeah, makes sense - can you try testing the APK from the revert PR?
I won't be able to right now
No worries^ I'll merge it and our community can test
@Suien-UTTU If you could try the latest release from github and see if the issue persists as some fixes were made that could have fixed this issue. PS - The fix is not on Play Store yet.
Yeah I try it and it seemed work now. Thanks for your support!
@suyash01 @Suien-UTTU could I get the apk to use right now since this update is still not on the Play Store
@PrathakGarg get the APK from the latest Release on GitHub, it should be new enough
@ILIYANGERMANOV I just tested the latest released apk. This issue is still there. Please look into it