Skip to content
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

Hourly option - disabled by default #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NVerban
Copy link

@NVerban NVerban commented Apr 7, 2015

Added hourly rule which, when enabled, shows as first option in frequency select. Assuming hourly rules are not needed in most cases this feature is disabled by default. Can be enabled via options feature:

$.fn.recurring_select.options = {
  hourly: {
    enable: true //enable hourly option - disabled by default
  },
  monthly: {
    show_week: [true, true, true, true, false, false] //display week 1, 2 .... Last
  }
}

screen-capture

@bogdanRada
Copy link

+1

1 similar comment
@trahfo
Copy link

trahfo commented Feb 25, 2016

+1

@uzaif313
Copy link

hi,
First thing first thanks for hourly support,
can we use hourly rule combine with other rule type such as event occur daily and each day every 2 hour or specific time

@NVerban
Copy link
Author

NVerban commented Aug 17, 2017

@uzaif313 it has been some time since I used recurring select, but as far as I am aware this does not support an hourly window each day that you are describing. It most likely would have to be implemented as a new/custom option.

It does look as though this kind of recurring rule is supported by ice_cube gem, which is a good start. A quick google search brought up a similar rule that might offer some hints: https://stackoverflow.com/questions/7374715/ruby-ice-cube-exclude-whole-day-for-hourly-recurring-event

If you find, or implement a solution, be sure to post it here for others who might need a similar solution!
Thanks, and best of luck!

@uzaif313
Copy link

@jverban Thanks for response
i try to implement it. if its working as i expect i will add solution here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants