Skip to content

feat: properly handle date, datetime and time formats

Arnaud Vergnet requested to merge topic/default/date-fix into branch/default

Adds two new components (one for fields, one for inputs) to handle CubicWeb date, datetime and time object. It works with and without timezone (tz) support.

It uses react-admin components for date and datetime. React Admin does not export components to handle time so the behavior has been implemented based on date and datetime implementations.

An issue has been created on react-admin to add time components: https://github.com/marmelab/react-admin/issues/7914

Closes #56 (closed)

Edited by Arnaud Vergnet

Merge request reports

Loading