Time Zone wrong in Order Details and Admin Email

Support forumCategory: QuestionsTime Zone wrong in Order Details and Admin Email
cb29kqp asked 4 years ago
Hi Nikola, first of all thanks for the great plugins, they are awesome! Easy Appointments Version: 2.9.1
Easy Appointments Connect Version: 0.11.3
WP Time Zone in General Settings: Berlin Here is the issue I just found: A visitor could book an appointment and pay via woocommerce checkout. The whole process works fine. When the Visitor comes to the Order-Receipt Page from woocommerce the time zone is shown as UTC instead of CET. At the same time the visitor received an Email with pending status stating the correct time zone with CET. The second email to the visitor after the payment with status confirmed shows the correct time zone CET either. The first Email to the admin shows the time zone as UTC. When the payment is processed the admin receives another email now with time zone CET. It would be great if all time zones are shown the same way. As it is right now, it's a bit confusing. Highly appreciate your help. Best,
Stephan  
1 Answers
Nikola Loncar Staff answered 4 years ago
Hi Stephan, as I understand you only received UTC from WooCommerce. All emails from EasyAppointments are fine with time zone? Best regards, Nikola
cb29kqp replied 4 years ago

Hi Nikola,

No, it’s not only Woocommerce. As stated above the first email from the Easy Appointment Plugin to the Admin is with UTC, the second email was than correct with CET.

The server is explicitly set to Berlin/Europe as Time Zone. Though I wonder where the plugin is taking the UTC time from and pass it through to Woocommerce and into the Admin emails. Woocommerce wouldn’t know anything about time zones of the appointment, if this information wouldn’t be injected by a plugin

From my point of view, the time zone should always be handled the same way.

Let me know if you need any further details.

Best,
Stephan