Skip to main content

Wrong time within booking reminder mails

Hi,
Since last week we noticed an error within the confirmation and reminder mails for booked sessions.

The time is displayed wrong. It's always 2 hours early. E.g. instead of 7pm it's 5 pm.

I already checked the timezone of the website (Berlin). I use the shortcode {{booking.start_date_time}} within the reminder mail.

Should I try to set the website timezone to UTC +2 (summer time in germany) (instead of just choosing "Berlin" within the dropdown) or is there any other solution?

Thank you!

Gini H.

Addendum: It would be easier if "Berlin" could be used, as this causes WordPress to automatically switch from summertime to wintertime. I've now switched it to UTC +2 and will monitor whether the emails are sent correctly.

Raiyan Marzan

Katharina JΓ€ger Noted.Β We will have a look into it

Gini H.

Raiyan MarzanΒ Changing the timezone didn’t affect the email. Let me know if there’s anything else I should test. :)

Gini H.

Raiyan MarzanΒ I noticed that using the shortcode {{booking.full_start_end_guest_timezone}}' displays the correct time (albeit in the 12-hour format, which is less common in Germany than the 24-hour format). Since the guests and we as the hosts share the same timezone, this doesn’t really make sense β€” but it’s a quick fix for now.

Raiyan Marzan

Katharina JΓ€gerΒ The shortcode {{booking.start_date_time}} returns time in UTC. To show the correct time please use {{booking.full_start_end_guest_timezone}} for the guest’s timezone and {{booking.full_start_end_host_timezone}} for the host’s timezone. Refer to the image below for clarity.

Raiyan Marzan

Katharina JΓ€gerΒ You can use {{booking.start_date_time_for_host}} for the 24-hour format