cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Bugfix/fix is within available hours date override

Open emrysal opened this issue 2 years ago • 3 comments

What does this PR do?

isWithinAvailableHours should prioritise date overrides

Fixes #6314 Fixes #6482

emrysal avatar Jan 18 '23 09:01 emrysal

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)

vercel[bot] avatar Jan 18 '23 10:01 vercel[bot]

@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

CarinaWolli avatar Jan 18 '23 13:01 CarinaWolli

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).

emrysal avatar Jan 18 '23 13:01 emrysal

Superseded by https://github.com/calcom/cal.com/pull/6538

emrysal avatar Feb 08 '23 13:02 emrysal