Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics

Date format in list

Can the the plugin be configured to show the date as the year only in the list?

I have a custom post type for vehicles and I have a custom field in acf, in the date format I have only the letter Y.

Thanks in advance

8 years, 4 months ago
Stefan van den Dungen Gronovius

Hi Frank,

This is currently not possible in the ACF addon.
The idea was that the return / display format of the ACF field should be returned but this is currently not working. I think that the return value should be used instead of the display value becauses ACF says that the display format is for editing. What do you think? I’ve created a ticket for this

You can show only the year by adding a custom field with Field Type set to date. Then you can set the date format to ‘Y’ to show only the year in the column. Please be sure that you don’t use inline edit for this column unless you know what format is used in the database. ACF stores its date data as format ‘Ymd’ so you’ll have to use this format when you use inline edit, not only set the year. It’s a workaround but it should give you only the year as a column.

8 years, 4 months ago

You must be logged in to reply to this topic.