giemsky / redmine_carousel

17 stars 9 forks source link

An example of config/business_time.yml #8

Closed wmiadmin closed 13 years ago

wmiadmin commented 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

giemsky commented 13 years ago

You can find more examples on business_time project's website https://github.com/bokmann/business_time .