Hi everyone,
I'm running into a problem syncing a date using the Collector app in Arches 5 (and previously in 4). I'm getting the following error:
arches.app.models.tile.TileValidationError: '2020-04-02T00:00:00.000-04:00 None is not in the correct format, make sure it is in this format: %Y-%m-%d or set the date format in settings.DATE_IMPORT_EXPORT_FORMAT. This data was not imported.'
and so I added in my settings_local.py file:
DATE_IMPORT_EXPORT_FORMAT = ['%Y-%m-%dT%H:%M:%S.%fZ', '%Y-%m-%dT%H:%M:%S.%f%z %Z', '%Y-%m-%dT%H:%M:%S.%f%z', '%Y-%m-%dT%H:%M:%S.%-f%z %Z']
However, none of these match the format string (I'm most unsure of the last portion with the milliseconds and time zone).
Back in the Arches' project resource model, the node is datatype = date, and the card widget is using date format ISO 6801 YYYY-MM-DD. No project overrides on any of these. In the collector app, I get the standard pop up calendar and can choose a date (no time).
Grateful for ideas. Thanks,
Angela