fixing time calc for manual entry