Files
calendar/packages/lib
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
..
2022-12-07 14:47:02 -07:00
2022-12-22 12:35:01 +00:00
2022-12-08 16:20:24 -07:00
2022-11-11 09:47:11 +00:00
2022-03-23 15:00:30 -07:00
2022-07-22 18:39:50 -06:00
2022-08-24 10:57:23 -06:00
2022-03-09 15:56:05 -07:00
2022-10-12 05:29:04 +00:00
2022-10-12 05:29:04 +00:00
2022-10-14 19:38:05 +00:00
2022-05-26 11:07:14 -06:00
2022-03-23 15:00:30 -07:00
2022-03-23 15:00:30 -07:00
2023-01-05 16:24:17 -07:00
2022-09-05 10:23:39 +00:00
2022-03-23 15:00:30 -07:00
2022-08-30 13:58:35 -06:00
2022-07-28 13:58:26 -06:00
2023-01-11 17:33:34 +00:00
2022-02-21 18:45:35 +00:00
2022-12-09 11:05:42 +00:00