Events API endpoint returns wrong times
I just implemented the events feature in my project and one user noticed I have all timings wrong. Everything is one hour too late. I searched for the issue on my end for a while, but then I saw that the API endpoint answers with the time one hour too late.
For example, the Xbox Games Showcase 2024 (IGDB ID 493) answers with 1717956000 as a start_time. That would be Sunday, 9. June 2024 18:00:00 UTC. But the event is at Sunday, 9. June 2024 17:00:00 UTC.
This is not only an error in this specific event, but all events I've seen so far.
This wouldn't be a problem if the API docs (https://api-docs.igdb.com/#event) wouldn't state, that the start_time is represented as UTC.
The error is also visible on the IGDB itself when the date is calculated based on the users time zone. (https://www.igdb.com/events/xbox-games-showcase-2024)
I'm currently in CEST and this event will run at 19:00, but the page states it's running at 20:00.
![](https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?size=40&default=https%3A%2F%2Fstatic-cdn.jtvnw.net%2Fjtv_user_pictures%2Fa93914d5-01c1-4f7f-a7ba-202a70bc25fb-profile_image-150x150.png)