Fix appointment end time calculation for very short services #262
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Currently, when a service has a duration of less than 1 minute, the JavaScript function calculating the end time doesn't account for seconds. This results in the end time being identical to the start time, triggering a validation error in the Django model.
Problem:
Proposed solutions:
Update JavaScript to handle seconds in duration calculation
Set a minimum service duration of 1 minute
Next steps:
This issue affects the usability of the system for very short services and should be addressed to ensure proper functionality across all service durations.
But seriously, I'd love to hear from someone who has a service duration of less than a minute...use case etc.
This issue is open to anyone who wants to implement it.
The text was updated successfully, but these errors were encountered: