-
Notifications
You must be signed in to change notification settings - Fork 84
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
Access to UNTIL within occurances #63
Comments
Hello, I have had this question multiple time. The easiest way to do is it to implement a proxy class on top of RRule to convert the occurrence from DateTime objects into whatever you want. Check the branch proxy, I created a basic example for this purpose. You just need to pass a factory method to the
When you use Happy to get feedback. If this is useful, I'll add it to master. |
Hello @rlanvin, is there any intention to include this proxy feature soon? |
@danielmoracr I'm just waiting for someone, anyone who has this use case and who wants to try it to provide some feedback. I don't have this use case myself so I don't know if the solution I wrote is useful or not. |
Hi @rlanvin, this is great, thanks for your work. However, I found an issue with the We're setting two events there: one that starts at 00:00 and lasts until 00:59 and another one that starts at 01:00 and lasts until 01:59. The issue is that |
@rlanvin I gave this another try, seems to be working fine! I had an error in my implementation. I updated the Gist and it works fine. Any chance of merging |
First I'd like to thank you for your work on this very useful library.
This is actually not an issue, but I'd like to access the "UNTIL" property in occurrences object (which now contains only date object). I'm using your library for event entry and (miss)use the "DTSTART" and "UNTIL" for start and end timestamp, because of that I need access to the UNTIL so that I can get the correct end time (UNTIL is provided as a timestamp).
I've been looking at the source and trying to find a way to add the "UNTIL" property (which is only available in the "rrule" object) to the "occurrence" object, but have failed to do so (simply don't know how to merge the property into "rlist_iterator").
The text was updated successfully, but these errors were encountered: