Skip to content

Infinite loop with day_of_week #469

@localhostdotdev

Description

@localhostdotdev

Essentially doing this makes an infinite loop: day_of_week(monday: [0])

Full reproduction test case:

schedule = IceCube::Schedule.new(Time.zone.now)
schedule.add_recurrence_rule(IceCube::Rule.daily.day_of_week(monday: [0]))
schedule.first

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions