Skip to content

Complex rules look funny in to_s #1

@rcreasey

Description

@rcreasey

I'm just trying to do a rule for 'Weekly on Wednesdays at 11:00 am'

For example:

schedule.add_recurrence_rule Rule.weekly.day(:wednesday).hour_of_day(11).minute_of_hour(0).second_of_minute(0)

Outputs:
Weekly on the 0th minute of the hour on Wednesdays on the 0th second of the minute on the 11st hour of the day

Is there a simpler way to do this rule?

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