[Resolved] format the “event calendar” date outputted by views
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here was that the user was using the event calendar plugin to display their date fields, however when retrieving the date values with the [wpv-post-field name="_EventStartDate"] shortcode that our views plugin provides they are getting a timestamp value.
Solution:
To resolve this you will need to use some custom code to convert the timestamp to a human readable format.
Add the following to your toolset custom code section in Toolset->Settings-> Custom code and activate it.
Tell us what you are trying to do?
Make the date output look more user friendly. ie: "30 September 2019" - rather than "2019-09-30 18:30:00"
Is there any documentation that you are following?
no
Is there a similar example that we can see?
Shane, that page was already fine before you did anything: That output is Event Calendar's own native output and it can be set from its own settings page. The issue starts when toolset views takes data from Event Calendar's database and displays in custom views.
Correction: Looking into what you've done, now I see that you've used that different code in the view formulation. That means somethings have changed. I will try to replicate that in other locations as well.
Not sure what you meant by this here " now I see that you've used that different code in the view formulation. That means somethings have changed" as in your view i used the exact code i provided here [format_date date="[wpv-post-field name='_EventStartDate']"]