convert all times to minutes on client side before sending