Closed Odko closed 6 years ago
Add gems to your Gemfile
and run bundle install
command.
gem 'business_time'
gem 'holiday'
Thanks for quick reply. Installed, but how can i use that ? Tried :
require 'business_time' 1.business_hour.ago
The error says:
Formula cannot load such file -- business_time
require 'business_time'
1.business_hour.ago
The error says:
Formula undefined method 'business_hour' for 1:Fixnum
I think it is more about redmine itself, try to find the answer in an official forum.
Is it possible to include libraries in formula like
require 'business_time'
?Thank you