I need to regularly have users import a CSV file via frontend import.
Two of the date fields are formattted like this - ‘08-02-2021 08:19’ (day month year 24-hour minute).
Importing them directly as date & time fields fails due to the format.
So I have tried this (for each value)…
- Importing the date/time in into a ‘temporary’ text field.
- Creating a (date) equation field to extract the date - (STR_TO_DATE({Fulfillment Date/Time Text Import},‘%d-%m-%Y %H:%i’).
- I then have a field rule that triggers on "Create and Update’ to copy this second value into a third and final date field.
It all works great if I edit or update the table manually.
But it doesn’t seem to trigger when I import a CSV file into the table.
Any suggestions on how to make this work?
Or, any suggestions to solve my date-format-import issue in a different way?
Thanks in advance.