fix: buffer times in handleNewBooking (#14871)

* get buffer busy time from bookings outside of start and end time

* add test for buffers

* fix typo

---------

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2024-05-09 13:39:32 +00:00
1 parent b8890c841c
commit 304ef29618
4 files changed
+152 -3

No files matched your search

@@ -0,0 +1,3 @@
export const getDefinedBufferTimes = () => {
return [5, 10, 15, 20, 30, 45, 60, 90, 120];
};