don't check diff if the time is invalid