Skip to content

Feature Request: RFC 3339 time Validator #1496

Description

@yslpn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions