jkbrzt / rrule

JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://jkbrzt.github.io/rrule
Other
3.34k stars 513 forks source link

maybe some mistake #461

Open 42om opened 3 years ago

42om commented 3 years ago

thank you for this stuff,

I looked for some test case and played with the field "byyearday" on the Demo http://jakubroztocil.github.io/rrule/

RRULE:FREQ=YEARLY;COUNT=11;INTERVAL=1;WKST=MO;BYDAY=TU,WE,TH,FR;BYMONTH=1,3,10;BYSETPOS=-1,2;BYMONTHDAY=5,6,7,8,9,11,12,13,14,15,16,17,18,19;BYYEARDAY=6,288,78;BYWEEKNO=1,4,5,6,7,8,41,12

new RRule({ freq: RRule.YEARLY, count: 11, interval: 1, byweekday: [RRule.TU, RRule.WE, RRule.TH, RRule.FR], bymonth: [1, 3, 10], bysetpos: [-1, 2], bymonthday: [5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19], byyearday: [6, 288, 78], byweekno: [1, 4, 5, 6, 7, 8, 41, 12] })

Date: run today 21.04.2021

maked this date twice