-
Notifications
You must be signed in to change notification settings - Fork 55
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
include? somehow does not include - and loops too #173
Comments
On the issue of "when to display a event" in a calendar - how will I know where on a daily view to a calendar I should place an event, unless being able to somehow gather
|
Thanks for the report. It’s possible there is a bug but I haven’t had a chance to look into it. Can you show me how you created your recurrence and DateTime objects? From your report, I can say that Montrose events are instances of
I may not understand the question but you can always create a temporary recurrence from existing one for which the start time is from a given context, like your calendar view:
|
ok - makes sense - and you seem to be at least partially right -
The My question regarding the "when to display an event in a calendar" must be a language thing - I mean almost every calendar exists only to present events - right? So, given I have a scedule like the one above - how would I place events on a day view - I mean: of the million+ downloads there must have been at least a few with that goal? But I have not been able to find one single google hit mentioning how to evaluate schedules using Montrose when displaying a day calendar, like you know: on monday, at 7 - should I present the schedule? no What are people using Montrose for if not evaluating schedules/recurring events? What else is there really for Montrose to do? I mean, you have a bunch of schedules and you'd like to know if there is some sparetime you could R/R or go watch a game, or something, right? But don't get me wrong - I really like the way you've (re)built the way to declare schedules - just not totally getting it (I mean I must be lost in the woods asking these silly kinds of questions) sorry 😢 |
how do I avoid hitting the 'loop' (see above) and still test whether a schedule is included? when I test time inside a schedule - no problem - but when I try to test time outside a schedule, whether before or after, I hit the 'loop' (or whatever is really going on) any ideas? this is what I'm testing with:
|
I may very well be barking up the wrong tree here - after giving up on IceCube (actually I've gone back and forth between the two of you, IceCube and Montrose, for a few days now, trying to get it to work), but here goes -
I'm on Rails 8.0.0.alpha, and Ruby 3.2.2, and Montrose 0.16., on a macbook Air macOS Sonoma 14.5 (the one with range anxiety; panic booting when you leave it alone), and I get this in my console:
I would've expected
re.include? tm
to return true andre.include? tm2
to report false.Any ideas, hints, caveats?
The text was updated successfully, but these errors were encountered: