Closed DanBirchgrove closed 6 years ago
Thanks for reporting this issue.
I have reproduced the issue and it is due to an get.. method having side-effects. For this reason running the calculations again for changing the background color (or not), will subtract non-working days twice.
I will check a fix in shortly and then it will be released along with other changes.
Given an iteration setup starting at 2018-10-01 and ending at 2018-12-31 And "Skip non-working days" is set When "Change background color when less than specified numbers of hours" is set Then the number of days shown on the widget is exactly half of number of days when "Skip non-working days" is not set.
Exempel: Today is 2018-10-25.
Given "Change background color when less than specified numbers of hours" is set When "Skip non-working days" is not set Then the number of days remaining is shown as 68.
Given "Change background color when less than specified numbers of hours" is set When "Skip non-working days" is set Then the number of days remaining is shown as 34.