GetDKAN / dkan2

Deprecated: please use the 2.x branch of the dkan repo
https://github.com/GetDKAN/dkan
GNU General Public License v2.0
18 stars 16 forks source link

Create new date/time widget #312

Closed kimwdavidson closed 4 years ago

kimwdavidson commented 4 years ago

The built in date-time widget forces the user to submit a full date-time value, we need a widget that will make it easy to add dates to the "Issued" field but also allow for simple dates such as 2019 or 2015-03

https://github.com/rjsf-team/react-jsonschema-form https://react-jsonschema-form.readthedocs.io/en/latest/advanced-customization/#custom-widget-components

Acceptance Criteria

The date widget that allows minimum data entries

  1. Issued: should allow dates such as 2017 or 2000-03-15
  2. temporal coverage: should be two text inputs (or more) and we assemble them to match the format required 2000-01-15T00:45:00Z/2010-01-15T00:06:00Z
kimwdavidson commented 4 years ago

Issue moved to GetDKAN/dkan #3105 via ZenHub