Bug in calcnewtime function
Status: Beta
Brought to you by:
alien999999999
hi buddy,
i found an error in the last calcnewtime function.
just replace :
timeadd(source,timeadd(timemult(timediff(source,sourcedisp),scale),timediff(destdisp,sourcedisp)));
by
return timeadd(timeadd(source,
timemult(timediff(source, sourcedisp),
scale)),timediff(destdisp, sourcedisp));
Thx for the lidle utility, it helped me (once this
correction was done).
>booba.skaya@gmail.com<
Logged In: YES
user_id=1343906
Originator: NO
Suggested function returs exactly the same result as original and is a bit more complex. There is no need to fix the original expression.