I'm using Divi Plugin's FilterGrid to bring in posts, which works, but the date is not formatted. See attached screenshot
Below is the shortcode that is generated for that custom field. (see screenshot)
[{"name":"wpcf-litter-name","label":""},{"name":"wpcf-litter-birth-date","label":""},{"name":"wpcf-litter-excerpt","label":""}]
I contacted DiviPlugin support and they said that I would have to format it where it is being created. I looked and did not see a setting for date formatting.
Hello. Thank you for contacting the Toolset support.
The thing is that the custom date field you created using Types stores the value as a UNIX Timestamp to database.
When you try to access the field as post field, it will retrieve the stored value that is UNIX Timestamp from the database. To display the UNIX Timestamp to human readable format you will have to convert the UNIX Timestamp to date and for that I suggest you should write a custom shortcode that should return you the formatted date based on the UNIX Timestamp as per your requirement.
I'm not sure if custom shortcode is allowed instead of the custom field but that is the only possible solution I can think of. You will have to check that.