# BusinessTime::Config.load("#{Rails.root}/config/business_time.yml")

# or you can configure it manually:  look at me!  I'm Tim Ferriss!
BusinessTime::Config.beginning_of_workday = "8:00 am"
BusinessTime::Config.end_of_workday = "5:00 pm"
BusinessTime::Config.work_week = [:mon, :tue, :wed, :thu, :fri]
# BusinessTime::Config.holidays << Date.parse("October 12th, 2015")
# BusinessTime::Config.holidays << Date.parse("December 25th, 2015")
# BusinessTime::Config.holidays << Date.parse("December 26th, 2015")

Holidays.between(Date.civil(2015, 1, 1), 2.years.from_now, :ca_on, :observed).map do |holiday|
  BusinessTime::Config.holidays << holiday[:date]
  end

