This makes this function much more useful, as people could easily build their own RRULE array, like that which is created when an RRULE is parsed, and calculate recurring dates using this function. As it stands right now, to use this function with data retried from parsing an .ics file, you need to use the DATA part of the RRULE. I would think that part will be removed before releasing 2.x-dev as a real version, as it's redundant, so date_repeat_calc() should take that array instead of the string.

Comments

karens’s picture

Category: task » feature

This is by design right now because we store the repeat rules in that string in the date module and we use it to parse repeat rules in ical files, so having an array would be an exception to the normal way of using it.

I'll mark it a feature request because I want to get this module released and this is not a critical issue, but we can look at reason for doing this later.

karens’s picture

Version: 5.x-2.x-dev » 6.x-2.x-dev

No new features in D5, moving feature requests to D6.

arlinsandbulte’s picture

Status: Active » Closed (won't fix)

Old issue with no activity....
But I can assure you date repeat functionality IS on the short-list of wanted improvements in upcoming versions of the date module.
So, hopefully this will be addressed in one way or another then.