Closed
Description
We currently don't set the format
property on all type: string
fields in connectors that accept a date. The format
property has currently no effect, but will be once we have date pickers in the UI, since it's the one determining if a string field is actually a date.
We should add an acceptance test, that tests that:
a) if a type: string
field has the pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$
, that it must also have a format: date-time
b) if a type: string
field has the pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
, it must also have format: date