ics email for new reservations 1 hour late

Community Support for Booked Scheduler
Post Reply
SirReal
Posts: 3
Joined: Wed Jul 07, 2021 11:25 am

ics email for new reservations 1 hour late

Post by SirReal »

Hi,

I've just added email support into our booked system (v2.6.2). When I create a new reservation, the email I receive has the reservation an hour late. However, if I open the reservation and just click 'update', the email I receive has the correct time. Deleting a reservation also sends an email with the correct time. It seems to be only the initial creation that is incorrect.

SirReal
Posts: 3
Joined: Wed Jul 07, 2021 11:25 am

Re: ics email for new reservations 1 hour late

Post by SirReal »

Thanks to all who read this. After hours of looking for this bug, I can no longer re-create it.

I am declaring it fixed, but I still have no idea what the problem was, or what fixed it. I would doubt my own sanity, but it was initially reported to me by someone else!

User avatar
fzobitz
Posts: 32
Joined: Mon Jul 27, 2020 3:37 pm

Re: ics email for new reservations 1 hour late

Post by fzobitz »

For the user that is creating the reservation, check the time zone in their profile. Also, test it with a user account that is not an admin user.

SirReal
Posts: 3
Joined: Wed Jul 07, 2021 11:25 am

Re: ics email for new reservations 1 hour late

Post by SirReal »

Hi,

After another report from a user, I had to go back and look again. I investigated this further and have figured out that it's to do with converting to British Summer Time. It fails to convert when creating the reservation, but then works on updates.

I created a reservation for 600-700 this morning (so, 500-600 UTC), and received this in the ics file:
DTSTART:20210709T060000Z
DTEND:20210709T070000Z

I then opened the reservation and without changing anything, I clicked the update button and received this:
DTSTART:20210709T050000Z
DTEND:20210709T060000Z

Can anyone think why the create reservation event is failing to convert to summer time, but the update works correctly?

Post Reply