-
-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
Description
Hi,
I have an acf field on every term of a custom taxonomy. This ACF field contains a date but when I use
'admin_cols' => array(
'week_start' => array(
'title' => 'Date de début',
'meta_key' => 'week_start',
'date_format' => 'd/m/Y',
),
)
The date doesn't get formatted correctly. I've check the value returned without the date_format and it's something like 20220214.
Now if I go to extended-cpts/src/TaxonomyAdmin.php and add an strtotime() around the $val on lines 269 and 271 I have no problems. Is there a reason why this is not already the case?
Also, is it possible to make this new column sortable (on the edit-tag screen)?
Thanks for your help!
Reactions are currently unavailable