Files
cal.diy/packages
c8744768c4 Refactored buildSlots (#6389)
* Refactored buildSlots

* Added typing for computedAvailableSlots

* Adds very simple boundary logic to make sure slots start at the right times

* Logic was cutting off too early

* Woops, should be eventLength, not frequency

* Expect 12:15 slots as availability is till 12:30 for booking

* Deliberately skip test for testing purposes

* slotInterval overrides intervals, but not duration

* Fix calendar mocking

* Another 45m length

* Unskip :(

* Fix test

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2023-01-11 17:33:34 +00:00
..
2023-01-10 15:39:29 +00:00
2023-01-06 12:13:56 +00:00
2023-01-11 17:33:34 +00:00
2022-12-14 13:36:10 +00:00
2023-01-04 13:49:20 -07:00
2023-01-11 17:33:34 +00:00
2023-01-11 17:33:34 +00:00
2022-11-22 20:02:40 -07:00
2023-01-11 15:00:46 +00:00