Closed Vin0uz closed 4 years ago
Found the problem, noting it here in case somebody ever face same issue..
Seems very obvious now that I noted it, 🤦♂ but in fact here was the problem:
There was no config file, so it was using default one, with default working-hours.
So if you run business_days.after(datetime)
and datetime is out of working hours, it will add time to reach the next working slot.
It happened sometime that the computation turned out to be wrong..
For example :
Note : It is possible that I am not aware of an existing holiday ^^'