Skip to content
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

Is there a way to NOT persist the occurrences? and just somewhat generate them based on a date range instead? #39

Open
jfrux opened this issue Mar 27, 2018 · 2 comments

Comments

@jfrux
Copy link

jfrux commented Mar 27, 2018

Trying to find a way to build out a calendar UI that isn't constantly creating records just so it can show them to the user. Or am I missing something? Or does it only persist them if you want them persisted?

Sorry!

@rexblack
Copy link
Member

Persisting occurrences is intended to come on top of the creation of the schedule. You can access all calculated occurrences as described in "Accessing IceCube" without the need of persisting stuff, but then have to take care of what to do with them by yourself. Meaning that currently you won't be able to list them up like you're used to do with database records.
This is something i always wanted to improve on. Ideally you could deal with the occurrences as if they were persisted. That would make everything far more easy to maintain and probably also to adapt to certain use cases. But i didn't manage to do it so far and - i'm so sorry - currently i'm so f*****g busy and it's really a pity that i cannot take care of this gem now. Hopefully this is going to change very soon.

Sorry! ;-)

@jfrux
Copy link
Author

jfrux commented Mar 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants