Skip to content

time format validation rejects full-time that is next day in UTC #1187

@dzhang-mc

Description

@dzhang-mc

There is an issue when validating "time" format string.

Schema:

{
  "type": "object",
  "properties": {
    "checkInTime": {
      "type": "string",
      "title": "Check-in Time",
      "format": "time"
    }
  }
}

Form data:

{
  "time": "17:00:00-07:00"
}

The validator gives an error: "does not match the time pattern must be a valid RFC 3339 time", but this time is valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions