Open vivekspraxa opened 2 years ago
It isn't currently possible to combine both interval rules and calendar rules. I'll see if I can come up for a work around for your particular problem. Is the idea here to match both Saturday & Sunday every two weeks?
Hi Fraser Hamilton
It will be great if you add this, I need to get it to be sat / sun and it should occur after every two weeks.
https://www.spraxa.com/ Vivek Gupta ----------- Spraxa Solutions Pvt. Ltd.
p: +91-120-4167004 m: +91-9990606479 us: 571-766-6072, 571-612-5506, 517-266-8995 a: 201, (Second Floor), Kaushambi, NCR – 201010, Uttar Pradesh, India em: +1-571-346-7306 w: https://www.spraxa.com s: vivek_dcpl
On Sun, Mar 13, 2022 at 4:11 AM Fraser Hamilton @.***> wrote:
It isn't currently possible to combine both interval rules and calendar rules. I'll see if I can come up for a work around for your particular problem. Is the idea here to match both Saturday & Sunday every two weeks?
— Reply to this email directly, view it on GitHub https://github.com/FraserHamilton/dayjs-recur/issues/10#issuecomment-1065977936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKK4DN3BPZGHB3LNVQ3J2ZLU7UMRVANCNFSM5H5BXI3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
-- This message contains information that may be privileged or confidential and is the property of the Spraxa Solutions Pvt. Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. Spraxa Solutions Pvt. Ltd. does not accept any liability for virus infected mails.
Has anyone found a workaround for this? I am also trying to do something similar.
When we are passing date value as
recur = dayjs("2021-11-07 00:00:00").every([0,6]).daysOfWeek().every(2).weeks() const nextDate = recur.next(1)[0]; expected next date = "2021-11-20 00:00:00" received = "2021-11-21 00:00:00"