Support

Home Forums Pre-Releases Problem with the event hour (EE4)

Problem with the event hour (EE4)

Posted: May 8, 2014 at 9:19 am


Jean-Baptiste Dayez

May 8, 2014 at 9:19 am

My event time is correctly specified in admin panel, but appears to be false on my website. In fact, my website shows current time in place of event time:
http://www.alliageartproject.com/?espresso_events=prochain-spectacle

Do you understand how it is possible, and what I could do to fix this?

Thanks a lot in advance!


Lorenzo Orlando Caum

  • Support Staff

May 8, 2014 at 12:16 pm

Hi Jean-Baptiste,

Are you running the latest version of Event Espresso at 4.2.3?


Lorenzo


Jean-Baptiste Dayez

May 9, 2014 at 12:56 am

Hi Lorenzo,

Yes, this is the version running on my website.


Tony

  • Support Staff

May 9, 2014 at 3:12 am

Hi Jean-Baptiste,

Can you tell me what Timezone, Date Format and Time format you have selected within Dashboard -> Settings -> General please?


Jean-Baptiste Dayez

May 9, 2014 at 3:16 am

Timezone: GMT+1
Date format: 9 mai 2014 (j F Y)
Time format: 10 h 13 min (G \h i \m\i\n)

Thanks for your help!


Tony

  • Support Staff

May 9, 2014 at 4:12 am

The issue is with the j F Y format as it can not be properly parsed by PHP due to its format and causes incompatibility issues with Event Espresso.

This results in the current time being displayed within the Events.

You will need to use another date format in order to use Event Espresso correctly.

For example ‘F j, Y’ will works fine.

Once you have changed your date format you may need to update your events in order for the dates to be updated correctly.


Jean-Baptiste Dayez

May 9, 2014 at 4:36 am

The problem seems to be partially solved.
The time is now correct, but I would like to show it in the 24 hours/day format (no AM and PM ; am and pm are not showed, BTW). Is it possible?


Lorenzo Orlando Caum

  • Support Staff

May 9, 2014 at 5:50 am

Hello,

You can set that up. Please see this guide here:

https://eventespresso.com/topic/format-date-and-time-in-ee4/#post-93329


Lorenzo

The support post ‘Problem with the event hour (EE4)’ 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