timex icon indicating copy to clipboard operation
timex copied to clipboard

Add support for calendar-style recurring datetimes to Interval

Open bitwalker opened this issue 9 years ago • 5 comments

This would permit expressing intervals like "the third Sunday of every month"

bitwalker avatar Mar 07 '16 18:03 bitwalker

Dear bitwalker, I am implementing recurring events for a phoenix project using timex. Is this the right place to ask you about your thoughts on future compatibility? I basically follow the iCalendar feature set currently.

matheus-b avatar Sep 05 '16 12:09 matheus-b

Yes definitely :), feel free to post your thoughts/questions here and we can discuss the implementation

bitwalker avatar Sep 09 '16 21:09 bitwalker

Just wondering how progression of this feature has been going. I've been trying to implement a similar thing to find the 2nd Saturday of each month, and I'd rather use Timex to do that, but I'm not exactly sure how to implement it either....

shymega avatar Mar 26 '18 20:03 shymega

Ah, I forgot about this there.

I could give it a go, have code around here somewhere.

But I am not so sure anymore timex is the place this should be in.

What are your thoughts by now bitwalker?

matheus-b avatar Mar 30 '18 21:03 matheus-b

I'd love to see this. I started using the recurring_events library, but soon discovered that it does not handle DST transitions at all because it doesn't have any real awareness of time zones or daylight saving time (https://github.com/pbogut/recurring_events/issues/14).

If the goal is to have an event that repeats "at 3am every day", that should be done in a way that respects DST transitions in the timezone. Or at least there should be an option to do so, because I can understand there may be cases where this is not desirable.

bgentry avatar Aug 18 '18 01:08 bgentry