Skip to content

Daily and getOccurrencesBetween #93

Description

@davidh71

I've just started using the library and it's great! The below doesn't work and I'm wondering if my approach is wrong or a defect.
I would expect to get 2 results back - and get nothing.
Many Thanks!

$r = new When\When();
$r->RFC5545_COMPLIANT = When\When::IGNORE;
$r->startDate(new DateTime("20220902"))
->freq("daily")
->interval( 1 );

$occurrences = $r->getOccurrencesBetween(new DateTime("20220902"),new DateTime("20220904"));
var_dump($r->occurrences);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions