working_hours
working_hours copied to clipboard
⏰ A modern ruby gem allowing to do time calculation with business / working hours.
Let's say you configured that your work_hours that on sunday's you are always closed. It would be nice to to inform that an specific date, like november 9th from 09:00...
Hello, First of all, thanks for this gem !! 👍 Here I created a plugin of redmine ( that I coding now ) where I need to calculate SLA of...
Complementary opposite method to the recent advance_to_closing_time.
When one returns a time to working time, it would seem sensible that the time actually passes the `.in_working_hours?` test in all cases. However, if the time passed to `return_to_working_time`...
On Sunday, November 1, 2015 at 2:00 a.m (Eastern Time) the US clocks jump out of Daylight Savings time. Given this config ``` ruby WorkingHours::Config.time_zone = 'America/New_York' WorkingHours::Config.working_hours = {...
Discovered accidentally that, if the working_hours hash config has many "ins" and "outs", the algorithm does not calculate working hours successfully. to avoid failure on the algorithm, working_hours setter sorts...
it's common for holidays to be recurring, it would be tedious to add dates as holidays with many future years, and when these years end, it will not consider that...