You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The time field does not appear to have proper field handling for feed mapping/importing. It is not listed in the fields list under src/fields.
Before in Craft CMS 3, you could create a date field but only display time only. Where as in Craft CMS 5, you can no longer do this and I assume encouraged to create a time field instead. Even under Craft CMS 3 an information tooltip suggests time field may be better suited.
The problem I have under Craft CMS 5 is when trying to import a date/time value to a time field, it isn't working reliably. While I can create a date field, I can't hide the date part on in the CMS backend which is potentially confusing for users
The field mapping also provides a plain text field as a default value, which seems odd, I'd imagine this should be a time field.
It looks like the time field itself is not handled properly or falling back to generic field mapping template.
If I manipulate the value to just "13:00" and "15:30" Feed Me does import this. However I feel Feed Me is lacking any proper support for the Time field generally and given it is a core field, this should be addressed if possible. My assumption is because the time field is not specifically handled, the generic field default processing and template gets used and handles the values as strings, not date/time.
Steps to reproduce
Create a time field
Create a Feed Me import using an entry with a time field
Attempt to populate a value like "01-01-1900 15:30:00"
The import will discard the data and not import it.
Additional info
Craft version: 5.5.5
PHP version: 8.3
Database driver & version: MySQL
Plugins & versions: N/A
The text was updated successfully, but these errors were encountered:
Description
The time field does not appear to have proper field handling for feed mapping/importing. It is not listed in the fields list under src/fields.
Before in Craft CMS 3, you could create a date field but only display time only. Where as in Craft CMS 5, you can no longer do this and I assume encouraged to create a time field instead. Even under Craft CMS 3 an information tooltip suggests time field may be better suited.
The problem I have under Craft CMS 5 is when trying to import a date/time value to a time field, it isn't working reliably. While I can create a date field, I can't hide the date part on in the CMS backend which is potentially confusing for users
Example values that aren't being imported:
The field mapping also provides a plain text field as a default value, which seems odd, I'd imagine this should be a time field.
It looks like the time field itself is not handled properly or falling back to generic field mapping template.
If I manipulate the value to just "13:00" and "15:30" Feed Me does import this. However I feel Feed Me is lacking any proper support for the Time field generally and given it is a core field, this should be addressed if possible. My assumption is because the time field is not specifically handled, the generic field default processing and template gets used and handles the values as strings, not date/time.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: