Skip to content

Unit tests fails during dailight saving change period #451

@hakito

Description

@hakito

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleNo activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions