-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: "Daily average to maintain" calculated based on incorrect number of days #19
Comments
Hey @a1sop0s, Thanks for reporting the issue. Could you please share screenshot of what you're seeing and why you think it is wrong? Share details on hours left/daily average, working days left, etc. Also, turn on the option |
If I remember correctly, the show remaining text was the exact same as the average to maintain. I'll get back to you with the details as soon as it happens again. |
Hi @BirjuVachhani. This has just happened again. The initial recommended average (4h 33min), when multiplied by days left and then added to the previous hours, sums up to 87.5h, which is 8.5h short from the target hours. It's important to note that during these screenshots, Toggl was already running, but not backwards 😅 |
I've just realised that perhaps this could be an issue with Target Mate not recognising that a working day has been started? And once saving the custom days, Target Mate is refreshed? |
In your 1st and 3rd screenshot, notice the working days going from 6 to 7. A day is reduced in the 3rd screenshot without any new hours being added. I think that's why it increased daily average. What were your selection of days before? I wouldn't change it from 6 to 7 without any changes! (Keep in mind that the day number shown is the current working day with needs to be accounted for in the calculation!)
I tried reproducing it but it does not change for me. |
It is imperative that another day has rolled around and custom days are enabled before the next day for this bug to appear. It seems like the current day isn't properly accounted for until I press save on custom days. |
What version of Target Mate are you on? |
0.8.0 |
I see. I am not able to reproduce it on my side even though I have very similar setup. I am not sure if this could be a bad state. Has this happened in previous month? Would try logging out and logging in again (Just to see if it was in a bad state somehow!)? |
This has happened every day I've had custom days enabled, I believe since I got Target Mate. Took me a while to realise something was off. |
Please logout and then uninstall and reinstall. |
The recommended daily average to maintain is calculated using incorrect days all up until opening "Select your working days", disabling custom days and clicking submit. When re-enabling custom days, the hours seem to be correct.
This seems to occur every new workday.
This is especially noticeable when you've customised your working days to be less or more than 20 days.
I do sometimes do work on weekends, despite not having configured them as working days, could this be affecting the daily average incorrectly as well?
MacOS Sonoma 14.6.1
Version 0.8.0 (App Store latest)
The text was updated successfully, but these errors were encountered: