I just can't seem to get enough of this module! It is absolutely one of the better ones here on Drupal.

It would be wonderful if there was a way to be able to set a repeat for mutiple times per day. For example, have an event start at a certian time, end after an hour and then start over again at the next hour.

To better explain this I'll include this

8:00 AM => 9:00 PM
Repeat for one more hour:

9:00 AM => 10:00 PM

This would be particularly useful when it came to scheduling classes which is what I am using it for.

Just a minor request. Awesome work KarenS! Is there anyway I can help with this project?

Comments

rbrownell’s picture

Title: Hourly ReOccurance » Hourly Re-Occurance
Priority: Minor » Normal
rbrownell’s picture

Priority: Normal » Critical
choster’s picture

Priority: Critical » Normal
skyredwang’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
monish_deb’s picture

There are two alternative workflows to show this functionality in GUI as follows:
1) Check "Repeat" >> Separate option Hourly in "Repeats" select box >> Radio Button (a, b)
2) Check "Repeat" >> Select Daily >> Another block "Repeats hourly at" above "Repeats every" >> Radio Button (a, b)

Single Check Radio Button (a,b) :
a) Single Time Interval >> From : [Textbox] To : [Textbox]
b) Multiple Time Interval >> Radio Button (i,ii)
i) Number of Interval [Select box] >> Populate 'selected' number of intervals as "From : [Textbox] To : [Textbox]" sections.
ii) "From : [Textbox] To : [Textbox]" AND Repeat for [select box] more hour(s).

So basically there are two alternative workflows [1 or 2] >> [a,b(i,ii)]. I need suggestion to proceed with.

rbrownell’s picture

The problem that this was originally intended for would best be resolved using Multigroup or Field Collection. The same class can have multiple timeslots in the same day but in effect the class (or group of people attending it) will more than likely be different than another occurrence on the same day. So you could put in repeating dates in a Multigroup or Field Collection with some sort of unique identifier field to indicate which class the time is for.

texas-bronius’s picture

It would be great to have this function, but I can imagine it would make quite a mess of a UI. I thought @monish_deb was describing an existing -dev/-alpha GUI feature, but not so :( -- he's just mocking up proposed UI changes.

What if we took at a look at User Stories and data model? How does the data look under the hood-- separate records that are written out, one per repeated occurrence

User Stories:
* As a Site Builder, I want to create a show event node that occurs every evening from 7-9p Tue-Fri, 9-11a and 2-4p Saturdays, and 2-4p Sundays.
* As a Site Builder, I want to create a class event node that occurs M-F every hour between 8a-4p.

Data model:
It appears that 1 date time record is made for every occurrence calculated by the UI along with the respective generated RRULE string that was used to calculate that date. The UI defines the rule, and save to db executes the rule and stores derivative date values? Appears there's a spec for hourly, ex:
Every hour and a half for 4 occurrences:
DTSTART;TZID=US-Eastern:19970902T090000
RRULE:FREQ=MINUTELY;INTERVAL=90;COUNT=4

If there is no existing UI pattern to follow, would it be possible to provide to site builders a text rule builder? Or heck even just a text field? Would changes made in the UI automatically wipe out custom calculated dates?

-Bronius

NWOM’s picture

I am currently having this functionality programmed. Any date field can have a repeat for the time within a day. This will be seperate from the daily, weekly, monthly, etc repeats.

You can choose the duration in minutes and hours that the repeat should occur, how long an event is, and how often it repeats. All of these can be specified using minutes, hours or a combination of the two. I will post the patch as soon as it is fully functioning and has been tested.

Edit: It should be available within the next 6 days.

texas-bronius’s picture

Hi @NWOM- Any progress on a patch for hourly recurrence?

elaine.ong’s picture

Hi, I know the last active comment was 8 years ago.
But hourly recurring dates are still not available and a much needed feature for my still-using-D7 client.

Appreciate if anyone can share any patch to make it work.

E