Switched exclusivity, initial bugfix was incorrect

This commit is contained in:
Alex van Andel committed 2021-08-16 22:51:52 +00:00
1 parent 4aadad7920
commit 3a00ab0d0e
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ function isAvailable(busyTimes, time, length) {
const endTime = dayjs(busyTime.end);
// Check if time is between start and end times
if (dayjs(time).isBetween(startTime, endTime, null, "(]")) {
if (dayjs(time).isBetween(startTime, endTime, null, "[)")) {
t = false;
}