Same here.
Add’l info:
The Events Calendar 5.1.6
Wordpress timezone (Settings => General => Timezone) is set to Europe/Berlin
timedatectl status (host OS: CentOS) is also saying Europe/Berlin
[root:~] ls -l /etc/localtime
lrwxrwxrwx 1 root root 35 6. Sep 22:14 /etc/localtime -> ../usr/share/zoneinfo/Europe/Berlin
I created an event for next sunday, Sep 13, 10 to 17h
Strangely in backend database I find for that particular event:
MariaDB > select * from wp_postmeta where post_id=9094 and meta_key like “_Event%”;
+———+———+————————+———————+
| meta_id | post_id | meta_key | meta_value |
+———+———+————————+———————+
| 54669 | 9094 | _EventOrigin | events-calendar |
| 54689 | 9094 | _EventShowMapLink | 1 |
| 54690 | 9094 | _EventShowMap | 1 |
| 54691 | 9094 | _EventStartDate | 2020-09-13 10:00:00 |
| 54692 | 9094 | _EventEndDate | 2020-09-13 17:00:00 |
| 54693 | 9094 | _EventStartDateUTC | 2020-09-13 10:00:00 |
| 54694 | 9094 | _EventEndDateUTC | 2020-09-13 17:00:00 |
| 54695 | 9094 | _EventDuration | 25200 |
| 54696 | 9094 | _EventCurrencySymbol | |
| 54697 | 9094 | _EventCurrencyPosition | prefix |
| 54698 | 9094 | _EventCost | |
| 54699 | 9094 | _EventURL | |
| 54700 | 9094 | _EventTimezone | Europe/Berlin |
| 54701 | 9094 | _EventTimezoneAbbr | CEST |
+———+———+————————+———————+
14 rows in set (0.001 sec)
This seems to say, that the event starts at both 10h UTC and Europe/Berlin (CEST), which is wrong.
If I preview the above event its from 8h to 15h. If I output timezone, it adds CEST.
Ok, found the issue. It was a misconfiguration on the host OS. Problem was, that /usr/share/timezone/UTC was identical to /usr/share/timezone/Europe/Berlin, which meant, that the system had UTC = Europe/Berlin.
The fix was to re-install Linux package tzdata, which fixed the issue.
Jaime
(@jaimemarchwinski)
Glad to hear that you were able to resolve this issue!
I’m going to mark this thread as Resolved but feel free to open up a new one if anything else comes up.
Have a wonderful day!
Thanks,
Jaime