Closed wmiadmin closed 13 years ago
Hello Grzegorz, Can you please provide a simple example of config/business_time.yml(Set up you working time and holidays in the config file)
Does this correct? : BusinessTime::Config.beginning_of_workday = "10:00am" BusinessTime::Config.end_of_workday = "7:00pm"
BusinessTime::Config.holidays << my_birthday 6.business_hours.after(Time.parse("August 3rd, 3:00pm"))
Introducing business_time - http://blog.codesherpas.com/on_the_path/2010/04/introducing-business_time.html
You can find more examples on business_time project's website https://github.com/bokmann/business_time .
Hello Grzegorz, Can you please provide a simple example of config/business_time.yml(Set up you working time and holidays in the config file)
Does this correct? : BusinessTime::Config.beginning_of_workday = "10:00am" BusinessTime::Config.end_of_workday = "7:00pm"
BusinessTime::Config.holidays << my_birthday 6.business_hours.after(Time.parse("August 3rd, 3:00pm"))
Introducing business_time - http://blog.codesherpas.com/on_the_path/2010/04/introducing-business_time.html