Support

Home Forums Event Espresso Premium Wrong times in calendar

Wrong times in calendar

Posted: October 28, 2021 at 1:57 am

Viewing 3 reply threads


Henrik

October 28, 2021 at 1:57 am

When downloading the iCal calendar links from an event page, it puts incorrect times in the calendar. This happens in both Windows Calendar and Outlook.

It’s wrong by one hour, you can check it here: https://svjb-kursus.dk/kursus/foerstehjaelp-ved-hjertestop-og-ulykker-6-timer/

click one of the calendar icons.


Tony

  • Support Staff

October 28, 2021 at 6:29 am

Hi there,

When I click the iCal link the times are correct for me:

https://monosnap.com/file/wWXxueIUu4RnxA0uzl9Dz6QFgAhJDN

If you go to Dashboard -> Settings -> General.

What is your site’s timezone currently set to?


Henrik

November 1, 2021 at 2:08 am

Hello.

Its set to UTC+ 0

If we change it to anything else now, it will affect all existing events, as their start/end time will change.


Tony

  • Support Staff

November 1, 2021 at 4:45 am

The iCal will use the timezone set on the event to output the datetime in UTC using the offset from that setting. You’re client which you are opening the iCal with will then apply your local offset to that value as its in UTC, which means you need to fix the offset in use on the site.

First, create a backup of the site’s database (don’t skip this step, if something goes wrong with the steps below you will need this).

Then, go to Dashboard -> Settings -> General.

Set the timezone to a city that uses the correct offset.

Then we have a DateTime offset utility you can use to update the date/times in your database with the correct offset.

Event Espresso -> Maintenance -> Datetime Utilites.

There you can set what the offset should be and update the values within your database. So if your timezone is +2 hours, set just ‘2’ in the Osset field and apply.

(Note that the offset utility uses Decimal values, not hours and minutes)

Viewing 3 reply threads

The support post ‘Wrong times in calendar’ 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