Support

Home Forums Event Espresso Premium Event List Add on – Date error

Event List Add on – Date error

Posted: August 11, 2014 at 4:46 pm


Lisa

August 11, 2014 at 4:46 pm

I have purchased the Event List Add on for EE4 and it is showing the wrong date and date for the event? Is there another setup required?

http://www.brismarkonline.com.au/training/course_schedule/


Josh

  • Support Staff

August 11, 2014 at 8:02 pm

Hi Lisa,

This looks like a timezone offset issue which can be worked around by changing a line of code in the Event list add-on’s /templates/espresso-events-table-template.template.php file.

In the current version on line 108 it has:

<td class="start_date event-<?php echo $post->ID; ?>"><?php echo date(get_option('date_format'). ' '.get_option('time_format'), strtotime($post->DTT_EVT_start)) ?></td>

It can be changed to:

<td class="start_date event-<?php echo $post->ID; ?>"><?php espresso_event_date() ?></td>


Lisa

August 11, 2014 at 9:45 pm

Worked perfectly thank you.
Lisa


Dean

August 12, 2014 at 2:35 am

Thanks for letting us know Lisa, can we mark this forum thread as resolved?

The support post ‘Event List Add on – Date error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso