-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Previous Occurrence #170
Comments
Here's a possible workaround:
It's a good idea though. I think we can wrap up a helper method for this. |
That seems like it would generate a large amount of models. We have daily recurrence rules for years... On May 15, 2013, at 12:55 PM, Andrew Vit notifications@github.com wrote:
|
You mean object allocations? I agree, building up an array from now until your target time is not ideal. We should make it smarter by looking at the rules & intervals to narrow the start of the range. |
Is there a way to get the previous occurrence, similar to next_occurrence? If not, any suggestions on accomplishing this?
The text was updated successfully, but these errors were encountered: