-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
Providing hour and minute in an hourly frequency hangs on rrule.all call #468
Comments
I'm having the same issue. It's hanging out when using |
Yes me too, having the same issue, my rrule body is like below {
freq: Frequency.MINUTELY,
interval: 120,
byweekday: [RRule.MO, RRule.TU, RRule.SU],
byhour: [1,2,3,4,5,6,7], // from 01:00 to 08:00
until: moment(schedule.end_date).toDate(), // a javascript date object
} One strange behaviour I noticed when I input a full week days (Monday - Sunday) for Spent 2 days to dig this thing out! |
@Ashwinkumar-R @sebacruz @jetjet-dev Have you found any workaround for this scenario? |
Commenting here in case my fix works for anyone else. |
this PR should fix the issue: @Ashwinkumar-R |
Reporting an issue
When calling rrule.all with the below-mentioned rruleset, no response is received back and looks like rrule.all() hangs. The hang seems to happen when we provide byhour and byminute parameters with values. When it is null then everything is fine. This happens randomly with the demo app, where the page hangs.
{"freq":4,"byhour":"11","byminute":"02","bysecond":0,"byweekday":null,"bymonthday":null,"interval":6,"tzid":"Asia/Kolkata","bysetpos":null,"dtstart":"2021-06-03T00:00:00.000Z","until":"2021-08-04T23:59:59.000Z"}
The text was updated successfully, but these errors were encountered: