Open Aaron-Lin-74 opened 2 years ago
@Aaron-Lin-74 did you find solution for this? I am also facing the same issue and for larger than 1 values rrule.after
produces invalida date
output
same issue. here's the demo output. the all()
returns correct day while the nlp output text seems missing bysetpos
param. don't very familiar with nlp. but it may not so hard to fix ?
i see. byweekday=2MO
shows correct second monday
whille bysetpos
is currently ignored in nlp
Also seeing this, not just for bysetpos > 1 but also for bysetpos=-1. Seems the nlp isn't respecting bysetpos parameter at all
Reporting an issue
new RRule({ freq: RRule.MONTHLY, interval: 1, byweekday: RRule.MO, bysetpos: [2] })
rule.toString() RRULE:FREQ=MONTHLY;INTERVAL=1;WKST=MO;BYDAY=MO;BYSETPOS=2rrule
you are using 2.6.4$ date
from the command line of the machine showing the bug) Fri Jul 15 15:05:49 AEST 2022