I believe it’s a bug, not sure if it’s been fixed. Where the business hours module only handles up to some value in one computation. So where ever the conversion from 22 days is made into business hours time, you need to split that up into a couple of conversions
Thank you for your response, I suspected it could be a bug as I saw nothing in the config that could influence this. I wonder if we can expect to have a fix soon, or if one may submit a pull request. Perhaps I can take a crack at it.
I suspected it could be a bug as I saw nothing in the config that could influence this. I wonder if we can expect to have a fix soon, or if one may submit a pull request. Perhaps I can take a crack at it.
One possibility is that there might be an issue with how the system calculates business days or business minutes for durations longer than 21 days. It’s possible that there could be a limitation or a bug in the calculation logic that affects durations beyond a certain threshold.
add_seconds START, SECONDS
Returns a time SECONDS business seconds after START. START should be specified in seconds since the epoch. Returns -1 if it can’t find any business hours within thirty days.
So, it’s some kind of “feautre” rather than a bug (yes, I agree with everybody that it’s not the expected behavior) so, @knation’s patch is one solution for your problem right now (note that if your due date needs to be set, for example, 6 months later, 4 loops won’t be enough).