The test ScheduleTotalConcurrentReservationsRuleTest::testChecksEachInstanceOfASeries fails on 2nd November 2024.
The reason seems to be that on line
|
$dates = $repeatOptions->GetDates($this->CurrentInstance()->Duration()->ToTimezone($this->_bookedBy->Timezone)); |
the calculated dates are calculated for the time zone of the 'booker' which is New York.
The DateRange class or Date seems to have timezone based conversions, but something must go wrong.