Archived topic
ACF Date display format incorrect
1 reply · Started by Traci on April 12, 2022
Hi, I have a date field from ACF in my CPT. I have it set to Return Format F j, Y selected in the ACF settings, but when I retrieve this field in Elements, it only shows as Ymd.
How can I get it to recognize the date as I have it set in ACF?
Here is a screenshot https://drive.google.com/file/d/1tdX9djQITLZl6nt4C9q_oo6ADFhyZpv8/view?usp=sharing
Hi Traci,
That’s the default output by ACF. Elements don’t alter how it’s displayed.
If you var_dump the date post_meta, you’ll see it’s still returned like that: https://share.getcloudapp.com/jkuvOonb
It would be best to reach out to ACF for assistance regarding this.
Hope this clarifies. :)