FraserHamilton / dayjs-recur

Day.js plugin for matching and generating recurring dates.
https://www.npmjs.com/package/dayjs-recur
MIT License
9 stars 2 forks source link

How to make recurrence like Saturday & Sunday every two weeks #21

Open sby1126 opened 1 year ago

sby1126 commented 1 year ago

Hi, I know this combine not working, but I need To.

ex) // Monday&Thursday every 2 weeks. const date = dayjs().recur('2022-11-15', 2023-12-15').every(["Monday","Thursday"]).daysOfWeek().every(2).weeks(); const dateAll = date.all();

but dateAll value was [].

Is there any way you could help me?