conjure-cp / workforce

https://conjure-cp.github.io/workforce/
0 stars 0 forks source link

Handling recurring constraints #20

Open gskorokhod opened 1 week ago

gskorokhod commented 1 week ago

For the sake of flexibility we need to be able to add recurrence rules to constraints. For example:

etc

Essentially, we will need to implement a subset of RFC5545

gskorokhod commented 1 week ago

A quick search gave me the RSchedule library but it seems to be unmaintained

gskorokhod commented 1 week ago

For now, the best choice seems to be this: https://github.com/jkbrzt/rrule

gskorokhod commented 1 week ago

That, or write our own minimal implementation of it (we dont need all of ical or really all of rrule I think)

gskorokhod commented 1 week ago

There is also a full implementation of the ical format in javascript: https://github.com/kewisch/ical.js