Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurrence Missing instances if bymonthday is not sorted #336

Closed
arunpandianp opened this issue Aug 4, 2017 · 3 comments
Closed

Recurrence Missing instances if bymonthday is not sorted #336

arunpandianp opened this issue Aug 4, 2017 · 3 comments
Assignees
Labels

Comments

@arunpandianp
Copy link
Contributor

recur = ICAL.Recur.fromData({
 freq:"MONTHLY",
 bymonthday: [3, 2, 1],
 until: "2017-07-02"
}); // 1st, 2nd, 3rd of every month till 2017-07-02
start = ICAL.Time.fromDateString("2017-07-01") 
it = recur.iterator(start)
console.log('Expected 2017-07-01, Actual ' + it.next()); //null
console.log('Expected 2017-07-02, Actual ' + it.next()); // null

https://jsfiddle.net/jkcamnjx/3/

@mschroeder
Copy link
Collaborator

@arunpandianp, do you want to fix this bug yourself?

@mschroeder mschroeder added the bug label Aug 13, 2017
@arunpandianp
Copy link
Contributor Author

@mschroeder yeah, i can look into it.

@mschroeder
Copy link
Collaborator

This should have been fixed with #666.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants