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 -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/f5dd0f88-f489-469e-832b-681b8aa5421c%40googlegroups.com.