Archived topic
ACF date return format
3 replies · Started by Paul on March 5, 2022
Hi, I have a simple custom post type and some advanced custom fields setup to display with a content template. That all works fine except for the datepicker field which despite having return format set as 'March 5, 2022 3:09 pm' is actually returned as '2022-05-03 15:09:00'.
Is there something I can use to correct this? ACF forums haven't been much help.
Thanks,
Paul.
Hi there,
GP simply returns the field value, so it sounds like ACF isn't storing the correct value. What happens if you choose a different return value in ACF?
Hi David,
Any return format can be selected for the date and format front end is always the same.
Maybe I'll need to raise it with ACF. It seems to be an acknowledged problems with no fix.
Thanks,
Paul.
Checking with ACF would be a good idea :)