Bugfix/fix is within available hours date override
What does this PR do?
isWithinAvailableHours should prioritise date overrides
Fixes #6314 Fixes #6482
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| cal | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 18, 2023 at 10:32AM (UTC) |
| cal-com-storybook | ❌ Failed (Inspect) | Jan 18, 2023 at 10:32AM (UTC) |
@emrysal How can I reproduce the bug before the fix? Everything seems to work for me, so I am not sure how to test it
You can produce this bug by creating an override outside of your working hours, so if your workinghours is 9:00-17:00 and you create an override for 20:00-22:00 this will show up; you will not be able to book those slots (even though the slots show up as available on the booker).
Superseded by https://github.com/calcom/cal.com/pull/6538