Wrong date creation based on destination.one repeatUntil #101

Merged
d-s-codappix merged 3 commits from 12653-main into main 2026-04-14 06:30:06 +00:00
d-s-codappix commented 2026-04-02 10:00:31 +00:00 (Migrated from github.com)

Respect the last day, if we import on that day.

A new test is added to reflect that situation.
The workaround for missing DatePeriod::INCLUDE_END_DATE is extended to cover that situation.

  • Fix wrong determination of repeat minutes

    The used value was for month instead of minutes.
    We now use the correct identifier for minutes.

    This revealed that tests only passed because of the issue.
    We therefore fix the code to still pass correct tests by working around PHP < 8.2 limitation.

  • Add test to ensure that weekly basis includes last day

Relates: #12653

Respect the last day, if we import on that day. A new test is added to reflect that situation. The workaround for missing `DatePeriod::INCLUDE_END_DATE` is extended to cover that situation. * Fix wrong determination of repeat minutes The used value was for month instead of minutes. We now use the correct identifier for minutes. This revealed that tests only passed because of the issue. We therefore fix the code to still pass correct tests by working around PHP < 8.2 limitation. * Add test to ensure that weekly basis includes last day Relates: #12653
maddy2101 (Migrated from github.com) approved these changes 2026-04-14 06:25:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
typo3/events!101
No description provided.