Support

Home Forums Community Forum Wrong timezone on order confirmation page (EE4.4.8.p)

Wrong timezone on order confirmation page (EE4.4.8.p)

Posted: January 8, 2015 at 2:12 pm


Jonathan

January 8, 2015 at 2:12 pm

Just posting this in case it is of interest to others.

When I had WordPress timezone in Settings-General set as UTC+0, the EE4 order confirmation displayed, for instance, “December 31, 2015 8:00 am – December 31, 2015 5:00 pm (Africa/Abidjan)”

Changing the WordPress timezone to “London” fixed this so that it now says “… (Europe/London)”.

By then I’d worked out how to get rid of the timezone entirely, which suits me better in any event. In event-espresso-core-reg/modules/gateways/Invoice/lib/templates change

#echo sprintf(__("%s - %s (%s)", "event_espresso"),$datetime->start_date_and_time(),$datetime->end_date_and_time(),$datetime->get_timezone());

to

echo sprintf(__("%s - %s", "event_espresso"),$datetime->start_date_and_time(),$datetime->end_date_and_time());

The support post ‘Wrong timezone on order confirmation page (EE4.4.8.p)’ 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