Adding validations for Time