humhub / calendar

Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.
28 stars 46 forks source link

BUG: Cannot change participation. "The event has already ended." before Event begins #474

Closed dvn0 closed 4 months ago

dvn0 commented 4 months ago

If I try update my attendance for an event shortly before it begins (say, 15 minutes) then I am blocked from doing so with the message "The event has already ended."

Here's a screenshot of this happening. This was 15 minutes before the event started.

image

luke- commented 4 months ago

Maybe some problem with the server timezone?

dvn0 commented 4 months ago

Everything looks okay on the server timezone. image

This time is correct.

dvn0 commented 4 months ago

I did some more testing, and it looks like if I create the event then this issue doesn't crop up. It seems to only happen when someone in a different timzeone to me creates the event.

dvn0 commented 4 months ago

Here's another example, and it's actually for an event that begins more than an hour later.

All times are in UTC +02:00 Europe/Brussels

First here is the time reported from the database: image

Now here is the event time: image

It will not let me change participation, and it says "The event has already ended."

yurabakhtin commented 4 months ago

@dvn0 @luke- Fixed in the PR https://github.com/humhub/calendar/pull/476.