You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I apply exrule after querying the rruleset, the exrule will not be applied.
Here is an example:
constrruleSet=newRRuleSet();// Add a rrule to rruleSetrruleSet.rrule(newRRule({freq: RRule.MONTHLY,count: 5,dtstart: datetime(2012,2,1,10,30),}),);// Querying the rruleset before applying the exruleconsole.log("Before",rruleSet.all());// Add a exclusion rrule to rruleSetrruleSet.exrule(newRRule({freq: RRule.MONTHLY,count: 2,dtstart: datetime(2012,3,1,10,30),}),);// If the ruleset is queried above, this will show 5 dates (exrule not applied)// If the ruleset is NOT queried above, this will show 3 dates (exrule applied)console.log("After",rruleSet.all());
The text was updated successfully, but these errors were encountered:
Affirmative. I ran into the same issue (even using the expample for exdate/rule from the README), only that I dind't understand that this due to the prior querring (so thx @jofmi, this was causing me some headage).
If I apply exrule after querying the rruleset, the exrule will not be applied.
Here is an example:
The text was updated successfully, but these errors were encountered: