recurr icon indicating copy to clipboard operation
recurr copied to clipboard

Recurring Date Issue

Open kamaljeet-qsstechnosoft opened this issue 3 years ago • 4 comments

Hi there,

First of all, thank you for this library, it helps a lot!

I have one issue explained below

I have selected a date and set a frequency every month and set the due date after 3 months. So recurring working for 3 months, but suppose the selected date falls on a weekend(Saturday, Sunday, or any of the dates on which I am not working). So is there any option to change the date for the particular month or we can set the date for 3 months separately?

Please reply ASAP.

Thanks in advance and have a nice day!

kamaljeet-qsstechnosoft avatar Jul 07 '22 11:07 kamaljeet-qsstechnosoft

Hi,

Please update on this.

Thanks

kamaljeet-qsstechnosoft avatar Jul 11 '22 06:07 kamaljeet-qsstechnosoft

Not sure I fully understand your recurrence description, but I think this is something you'll need to account for outside of Recurr.

Generate your recurrence set, iterate the generated dates, test each date, modify accordingly.

simshaun avatar Jul 12 '22 20:07 simshaun

Hi,

First thanks for your reply. just one thing. Can we reschedule the recurring date if recurring falls during the holiday or weekend? Is there any option to do this?

Thanks.

kamaljeet-qsstechnosoft avatar Jul 13 '22 12:07 kamaljeet-qsstechnosoft

Recurr is not aware of holidays, so it's something you have to account for on your own.

You can formulate a monthly RRULE that avoids weekends (e.g. FREQ=MONTHLY;COUNT=10;BYDAY=MO,TU,WE,TH,FR;BYMONTHDAY=13), but you end up with skipped months. It's probably better to not limit the RRULE, and instead test the recurrences afterwards to see if they satisfy your conditions.

simshaun avatar Jul 13 '22 20:07 simshaun