Schedule
Here is where you set the options of your own chosen schedule. These are extremely important as this will also limit when potential clients will be able to ask for appointments for.
Overnight?
The overnight
option is a boolean, which means it can only be set as either true
or false
. The default is false
.
Start
This will be the hour that signifies the start of your daily work. It needs to be a number between 0
and 23
, as it is based on the 24-Hour clock that the Luxon DateTime Class is based on. They further state that they do it that way because that is how the Date API is setup. So, we do it to keep things working well as reliability is huge for the freelancer.
End
This will be the hour that signifies the end of your daily work. It needs to be a number between 0
and 23
, as it is based on the 24-Hour clock that the Luxon DateTime Class is based on just as the start hour is. They further state that they do it that way because that is how the Date API is setup. So, we do it to keep things working well as reliability is huge for the freelancer.
Minimum Appointment Length
This number is the number of minutes that you want your appointments to be at least the length of. We have set a default of 60
in order to provide a better amount of room for styling. However, a freelancer can set it to any whole number from 60
and above.
Maximum Appointment Length
This number is the number of minutes that you want the max length of time your appointments with potential clients to be. While there is no default, they will need to be at least the length of the minimum appointment length. Also, since there is no default set, you MUST set the maximumAppointmentLength
.
Appointment Buffer
This is the time between appointments that you want to have. The default is set to 0
. The time is set as a number of minutes, so 60
represents an hour long buffer between appointments.