Files
calendar/packages/lib
Alex van AndelandGitHub f5dc22f145 fix: Multiple rr-hosts combine to create erroneous availability (#18772)
* wip: Open draft PR with passing test (should fail)

* Fix aggregatedAvailability by not merging rr host availability

* Added test for validating fixed host behaviour

* Add test for combined rr and fixed hosts

* Check date-ranges arent returned multiple times when offered by multiple rr hosts

* Also sort date ranges

* Adding failing test that should result in 5 slots, but returns 7 as it returns the same slots twice.

* Slots returns duplicate slots for overlapping date ranges

* As mergeOverlappingDateRanges enabled the unified start time, we need to reproduce this

* Do not 'prettify' slots to the same degree if they fall on different days

* Added test to prove an end date before start also works

* Use a string instead of number as key

* chore: Deprecate organizerTimeZone, effectively unused

* Adjust all dateRanges similarly

* Bring back eventTimeZone

* Remove adjustDateRanges in favour of slot generation changes

* Convert to tz after all logic is finished.

* clearer code flow

* Remove console.log + add failing test due to inverse order

* Address issue with inversion when date ranges are given out of order
2025-02-11 19:35:56 +00:00
..
2025-01-18 16:21:12 -03:00
2024-06-11 14:35:53 +00:00
2024-11-13 15:14:31 -05:00
2025-01-18 16:21:12 -03:00
2023-01-20 15:19:12 +01:00
2024-12-18 16:26:59 +00:00
2024-04-27 18:14:37 +02:00
2023-07-28 15:11:44 +00:00
2024-03-08 15:13:29 +00:00
2022-03-09 15:56:05 -07: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-04-25 19:39:47 -03:00
2025-01-12 20:31:43 +00:00
2023-12-19 11:20:54 -03:00
2024-10-04 13:44:50 -07:00
2024-05-10 08:47:57 +01:00
2024-10-24 09:10:27 -04:00
2023-11-11 11:16:35 +00:00