I\'m creating a Rails app that will store the opening and closing hours for a business. Originally, I thought of simply using a text data type and letting it be free-form:
Checkout these libraries for handling recurring dates.
Once the recurrence is setup in an object say office_hours, in ice_cube you can query it as:
office_hours
ice_cube
office_hours.occurring_at?(Time.now)