Describe the bug
Number of completed tasks not getting updated after I choose a different date and switch back to the current date.
To Reproduce
Steps to reproduce the behavior:
Create a commission
Mark it as done
Number of completed tasks updates correctly
Switch to a different date from the calendar
Switch back to the current date
Number of completed tasks is back to 0
Expected behavior
Number of completed tasks should not go back to 0 on the same date I marked them as complete.
Screenshots
The screenshot is from my locally built version, to show that the dates are a little wrong for some reason (I am just showing date.toISOString() here), but I can reproduce it on the version from the release as well.
Desktop (please complete the following information):/
OS: Windows
Version: Windows 11 23H2
Additional context
As I said in the comment to the screenshot, I think the date gets set incorrectly for some reason?? when I launch the app it is correct (19.05), but after switching the dates it becomes a day earlier, idk why it does that tho
It's not that big of an issue, it can be solved by just restarting the app
I don't think it's an issue with the calendar, it looks to be something with the commission states not being properly updated from the database. I'll look into this!
Describe the bug Number of completed tasks not getting updated after I choose a different date and switch back to the current date.
To Reproduce Steps to reproduce the behavior:
Expected behavior Number of completed tasks should not go back to 0 on the same date I marked them as complete.
Screenshots The screenshot is from my locally built version, to show that the dates are a little wrong for some reason (I am just showing date.toISOString() here), but I can reproduce it on the version from the release as well.
Desktop (please complete the following information):/
Additional context As I said in the comment to the screenshot, I think the date gets set incorrectly for some reason?? when I launch the app it is correct (19.05), but after switching the dates it becomes a day earlier, idk why it does that tho It's not that big of an issue, it can be solved by just restarting the app