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

Limit future bookings within a date range is broken; #19437

Open
brobr opened this issue Feb 21, 2025 · 2 comments
Open

Limit future bookings within a date range is broken; #19437

brobr opened this issue Feb 21, 2025 · 2 comments
Labels
🐛 bug Something isn't working 📉 regressing This used to work. Now it doesn't anymore.

Comments

@brobr
Copy link

brobr commented Feb 21, 2025

Limit future bookings within a date range is broken; the opposite is shown. That is: days to show as bookable appear as unavailable and all other irrelevant dates with wrong slots show as available! Did somebody took a negation out of a function?

A summary of the issue. This needs to be a clear detailed-rich summary.

Steps to Reproduce

  1. Change scheduling range under event-type/limits
  2. Set a date range to span dates with available slots for 10 and 11 March.
  3. Cancel all other dates in that time span (because there is no availability).

This kind of action worked a couple of days ago fine; what has happenend?

Actual Results

The opposite is shown: all dates with defined available slots (10 and 11 March) show as unavaliable and all other irrelevant dates show with open timeslots that have never been defined; some default seems to be taking over.

Technical details

  • Mozilla Firefox 128.7.0esr (64-bit), Slackware64-15.0+ (current)
  • Nodejs-22.14.0

Evidence

Settings for event: slots, dates and overrides

Image
Image
Image

and how it shows up:

Image

@brobr brobr added the 🐛 bug Something isn't working label Feb 21, 2025
@dosubot dosubot bot added the 📉 regressing This used to work. Now it doesn't anymore. label Feb 21, 2025
@anikdhabal
Copy link
Contributor

@brobr screenshots look fine. Could you pls add a loom or video?

@brobr
Copy link
Author

brobr commented Feb 21, 2025

Sorry, cannot make a video.
Steps:

  1. Set up 1 hr Event, Save
  2. Set Event -> Availability: Slots 7.30 pm - 8.30pm Mon-Fri, Save
  3. Event -> Limits: set Limit future bookings, Within a date range Mar 1- Mar 14 2025, Save
  4. Edit Event -> Availability: Date overrides: mark all days but 10 and 11 March, Save
  5. Test event page in browser or different one (Vivaldi): same result; the inverse/opposite of bookable dates and time slots is shown.

For example: https://cal.com/sdheatteam/1hheatsurvey?month=2025-03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 📉 regressing This used to work. Now it doesn't anymore.
Projects
None yet
Development

No branches or pull requests

2 participants