Support

Home Forums Event Espresso Premium Single Event page shows January 1, 1970 for event date

Single Event page shows January 1, 1970 for event date

Posted: February 2, 2017 at 4:22 pm

Viewing 1 reply thread


Robert W Richards

February 2, 2017 at 4:22 pm

I just updated from 4.9.25 to 4.9.25 and the events were showing the correct date on the upcoming events list, but on the single event page the date was switched to January 1, 1970. Can you tell me what might have changed in the span between the two versions that would cause this?

The site: https://awls.org/upcoming-courses/

I inherited this site, I didn’t develop it, but it’s been working well with all the updates up to this point.

Here is the code snippet from the custom page template in the theme where the date gets pulled:

<span class="date"><?php echo course_time(get_the_id()); ?></span>

Is there anything else you need?

Thanks,
Michelle


Josh

  • Support Staff

February 2, 2017 at 5:08 pm

Hi Michelle,

Can you find the course_time() function? That might be something in the WordPress theme or in a small customization plugin. That function probably needs to be corrected.

Viewing 1 reply thread

The support post ‘Single Event page shows January 1, 1970 for event date’ 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