I have searched through the documentation and have had no luck making this work. We are switching over from a different calendar plugin and I’d like to keep the event list on our front page looking the same.
To do this, different classes need to be wrapped around different pieces of the date and time (ex “event-day”, “event-month”, “event-time” etc). I have made a copy of list-widget.php in the tribe-events/widgets/ folder within my theme. I have looked at the documentation here (http://docs.tri.be/Events-Calendar/function-tribe_event_format_date.html) and must be missing something.
For example, I would expect the following piece of code to return a three letter version of the day name:
But it returns the entire date/time string:
2013-09-20T16:37:17+00:00 4:37 pm
I could just grab the pieces I need using substr(), but I figured I’d ask to try and do it correctly.
Thanks in advance!
Thanks,
Jordan