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

Wrong end time suggested in availability error #778

Closed
rwood-moz opened this issue Dec 2, 2024 · 2 comments
Closed

Wrong end time suggested in availability error #778

rwood-moz opened this issue Dec 2, 2024 · 2 comments
Assignees
Labels
bug Something isn't working M: Appointment Beta 3

Comments

@rwood-moz
Copy link
Contributor

Describe the bug
When you set the availability end time so that the available time is shorter than the appointment duration settings, the resulting end time error suggests an incorrect end time.

To Reproduce
Dashboard => Scheduling Details
Verify booking duration is set to the default of 30 minutes.
Dashboard => Set General Availability
Set start time 9:00 AM, and end time 9:05AM
Click Save button

Expected behavior
Error to appear indicating invalid end time, with correct end time suggestion (i.e. at least 9:30 AM).

Actual behavior
Error appears stating end time should be at least 04:30 AM.

Screenshots
Image

System (please complete the following information):

  • OS: Mac OS 15.1.1
  • Firefox 133.0 (aarch64)

Additional context
Add any other context about the problem here.

@rwood-moz rwood-moz added the bug Something isn't working label Dec 2, 2024
@devmount
Copy link
Collaborator

Yeah, this is messed up rn. We should fix this after we simplified error handling in #270 and maybe #797

What do you think @MelissaAutumn ?

@MelissaAutumn
Copy link
Member

I think I've figured it out, will push a PR up in a min.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working M: Appointment Beta 3
Projects
None yet
Development

No branches or pull requests

3 participants