-
Notifications
You must be signed in to change notification settings - Fork 362
Closed
Description
Following rule
FREQ=MONTHLY;INTERVAL=1;BYSETPOS=1;BYDAY=SU
used with IceCube::Rule.from_ical(...)
Results should look like (monthly, every first sunday of the month)
https://jkbrzt.github.io/rrule/#/rfc/RRULE:FREQ=MONTHLY;INTERVAL=1;BYSETPOS=1;BYDAY=SU
With IceCube i get something like (occurrences
)
[2024-09-01 00:00:00 +0200,
2024-09-08 00:00:00 +0200,
2024-09-15 00:00:00 +0200,
2024-09-22 00:00:00 +0200,
2024-09-29 00:00:00 +0200,
2024-10-06 00:00:00 +0200,
2024-10-13 00:00:00 +0200, ...
weekly repetitions.
Here the to_hash
from the schedule
{:start_time=>2024-09-01 00:00:00 +0200, :rrules=>[{:validations=>{:day=>[0]}, :rule_type=>"IceCube::MonthlyRule", :interval=>1}], :rtimes=>[], :extimes=>[]}
Metadata
Metadata
Assignees
Labels
No labels