The TimeConfig interface extends the BaseValidatorConfig interface to provide a basic configuration option for time validation. It allows you to specify whether seconds should be allowed in the user-entered time value.
allowSeconds (Optional): A boolean flag indicating whether seconds should be allowed in the time format. Defaults to false.Inherits all properties from BaseValidatorConfig (e.g., message, messageKey, and potentially conditionalExpression depending on the library implementation).