Closed (fixed)
Project:
Recurring Time Period
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
22 Sep 2017 at 16:59 UTC
Updated:
20 Oct 2017 at 15:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
erik.erskine commentedUpdated this to be more generic - the configuration now consists of a reference date and arbitrary interval.
This also operates on
\DateTimeImmutableobjects as per #2912347: Use \DateTimeImmutable rather than timestamp for all time calculations.Also includes tests for annual recurrences.
Comment #5
joachim commentedCommitted, with a few formatting and docs tweaks, and the tests refactored to use a PHPUnit data provider -- which makes it much easier to add more cases.