Valibot currently provides isoTime() (HH:mm) and isoTimeSecond() (HH:mm:ss) validators based on ISO 8601 local time formats.
It would be useful to add support for RFC 3339 time values, including UTC and offset-based time zones, for better interoperability with OpenAPI format: time.
Examples of valid values:
14:30:45Z
14:30:45+02:00
14:30:45.123Z
This would make it easier to validate OpenAPI format: time fields without requiring custom validators.
Valibot currently provides
isoTime()(HH:mm) andisoTimeSecond()(HH:mm:ss) validators based on ISO 8601 local time formats.It would be useful to add support for RFC 3339
timevalues, including UTC and offset-based time zones, for better interoperability with OpenAPIformat: time.Examples of valid values:
14:30:45Z14:30:45+02:0014:30:45.123ZThis would make it easier to validate OpenAPI
format: timefields without requiring custom validators.