pbogut / recurring_events

Elixir library for dealing with recurring events
MIT License
26 stars 8 forks source link

Occurance between dates #12

Closed ch33foong closed 6 years ago

ch33foong commented 6 years ago

Hi there,

Correct me if I am wrong you can only take a specific number of events after a date. Is it possible to query all events between 2 dates?

pbogut commented 6 years ago

You can use until to limit to specific date. Start date will be your date, if your rule requires different date then I guess you would have to reduce result yourself with Enum.drop_while/2

ch33foong commented 6 years ago

I am so sorry, I only realised there is a :until filter after I looked at the tests.

Thanks for your reply :)