rossta / montrose

Recurring events library for Ruby. Enumerable recurrence objects and convenient chainable interface.
https://rossta.net/montrose/
MIT License
842 stars 52 forks source link

montrose gem not working when chain with during #145

Closed flyingboy007 closed 3 years ago

flyingboy007 commented 3 years ago

Trying to use montrose gem but when chaining days with during its not working

#this works
r=Montrose.every(:week, on: [:monday, :wednesday, :Friday])

but when I chain it with during its not working

r=Montrose.every(:week, on: [:monday, :wednesday, :friday],during: ["9am-12pm", "1pm-5pm"] )

Its not showing any errors. Console just getting stuck like it's operating something. Everytime need to force close. Seems like this is not the right way to chain.