Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check for overlapping appointments #180

Merged
merged 2 commits into from
May 10, 2021
Merged

fix: check for overlapping appointments #180

merged 2 commits into from
May 10, 2021

Conversation

parasg1999
Copy link
Contributor

@parasg1999 parasg1999 commented May 9, 2021

I had a case where a 45 minute slot was available for 5:45pm but my 6:00pm was already booked. This PR fixes the situation where the slot end time could be in one of the busy slots.

Please give any suggestions. I love calendso and would love to contribute more.

Edit
The second commit is for the situations where my slot starts at let's say 5:30 pm and ends at 6:00pm, but I am busy from 5:40 to 5:50, then none of the previous checks will work.

Suggestion -
I think we should get slots after checking the busy schedule
But this can be done at a later stage.

@vercel
Copy link

vercel bot commented May 9, 2021

@parasg1999 is attempting to deploy a commit to the calendso Team on Vercel.

A member of the Team first needs to authorize it.

@baileypumfleet baileypumfleet merged commit 1ab1dfc into calcom:main May 10, 2021
@baileypumfleet
Copy link
Contributor

This is awesome, thanks very much for your contribution, and welcome to Calendso!

@parasg1999
Copy link
Contributor Author

Thanks @baileypumfleet 🎉
For merging as well :)

KATT pushed a commit that referenced this pull request Sep 3, 2021
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](bahmutov/start-server-and-test@v1.12.0...v1.12.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@KrishnaPG
Copy link

Came across this as I was facing the overlapping issue in app.cal.com; Please refer the below screenshot where two overlapping bookings were allowed. Not sure if this fix was applied to app.cal.com or not

image

zomars added a commit that referenced this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants