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
May 8, 2014 at 12:16 pm
Add New Note to this Reply
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
Add New Note to this Reply
Hi Lorenzo,
Yes, this is the version running on my website.
Tony
May 9, 2014 at 3:12 am
Add New Note to this Reply
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
Add New Note to this Reply
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
May 9, 2014 at 4:12 am
Add New Note to this Reply
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
Add New Note to this Reply
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
May 9, 2014 at 5:50 am
Add New Note to this Reply
Hello,
You can set that up. Please see this guide here:
https://eventespresso.com/topic/format-date-and-time-in-ee4/#post-93329
—
Lorenzo