Skip to content

Conversation

@pavel-kh
Copy link

@pavel-kh pavel-kh commented Nov 9, 2018

There was a problem with DateTimeWidget, it generated a value not according to json schema date-time format, which is YYYY-MM-DDTHH:mm:ssZ (the generated value was of YYYY-MM-DDTHH:mm format).
For example for schema like this one

const schema = {
      title: "A schema", 
      properties: {
        datetime: {
          type: "string",
          format: "date-time",
          widget: "datetime"
        }
      },
      required: ["datetime"]
};

you couldn't enter a valid value using DateTimeWidget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant