On Sat, Jul 16, 2016 at 11:12 PM, Nilesh <[email protected]> wrote: > On Sat, 2016-07-16 at 10:35 +0530, Nilesh wrote: > > On Sat, 2016-07-16 at 06:59 +0200, René Seindal wrote: > > > > > > You have the misspelling > > > SerivceBusinessHours > > > in there. > > Fixed that & restarted the processes. Still same behaviour observed. > Ticket > > with > > SLA of 3 days gets assigned a due date of 5th August! :-S > > This seems to be a bug in Business::Hours module, as I'm getting same > results - > tested with an independent script using same configuration that I posted > in this > is list earlier. >
I studied the code of add_seconds subroutine in that module. It's not a bug, but rather wrong interpretation of docs by me. So I figured that setting BusinessMinutes to 1484 minutes will set the due date correctly to 3 working days since now. I guess this needs to be stated in the docs properly.
--------- RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016
