fixing the calculation of shipping dates