added error message for isTime validator