ACF Date format

WordPress
15 January, 2021 03:07:13
gci
Topics: 3
Messages: 5
Hi,
Just looking for the correct shortcode to output a date from a ACF field.
I can output the current date using:
[e2pdf-format-date]now[/e2pdf-format-date]
Shows correctly as: January 15, 2021

However when I use the shortcode for the ACF field [meta key="online_begins"]
It outputs:
20210301

The ACF field displays correctly elsewhere on the site.

Thanks!
Jay
15 January, 2021 09:01:49
E2Pdf
Support
Topics: 7
Messages: 3345
Hi,

You must be able to format ACF date with "format" attribute on [e2pdf-format-date] shortcode wrapper.

[e2pdf-format-date format="F j, Y"][meta key="online_begins"][/e2pdf-format-date]

We remain at your service.
We would really appreciate your feedback at WordPress.org!
17 January, 2021 02:02:05
gci
Topics: 3
Messages: 5
Fantastic, that works perfectly!

Thanks,
J