You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I've spotted a bug and wanted to let you guys know. I'm using @ssense/[email protected] and have noticed that when I request availability where the duration approaches (or exceeds) the number of working hours in a schedule's day, then some incorrect time slots are marked as available.
Hey @ninjaPixel, thanks for reporting the bug! This repo isn't being actively maintained, but if I get some free time in the next bit I can take a look into it. Sorry for the late reply!
Hi 🖖
Thanks for sharing this great package!
I think I've spotted a bug and wanted to let you guys know. I'm using @ssense/[email protected] and have noticed that when I request availability where the
duration
approaches (or exceeds) the number of working hours in a schedule's day, then some incorrect time slots are marked as available.For example, if I run
The output is:
I expect the 16:00 time to have the property
available:false
.If I up the
duration
even further to 23 hours, then the availabilty object marks all the time slots as available but I'd expect them to all be false.Thanks!
The text was updated successfully, but these errors were encountered: