Description
I am creating a scheduled meeting via meetings API by entering the details on my platform. The start_time is stored in UTC format and sent in the format 2020-08-24T06:30:00Z along with other required data. On my platform, the start_time fetched from the DB and is shown correctly and the same is sent to the zoom as well but on the zoom, the meeting is created with the time which is ahead by 05:30 hr from the sent start time.
Error
No error message is thrown and the meeting is also created successfully but the start_time sent is not with which the meeting is created on the zoom.
The timezone got added with the response body, I am sending the start_time without the timezone because of which Z is added. Why timezone is automatically getting added? This was working fine till the start of August.
In the DB I store the start_time in GTM because from different timezones meetings can be created.
In the future, we will be having hosts from multiple timezones and that is why GTM format should be prefered.
Yes, I am passing the timezone with Z since in the DB it is stored in the GTM format. Ideally, it should automatically convert to the timezone which is configured in the zoom account since the timezone is not passed explicitly.
In my zoom account, I have IST as the timezone which is ahead by 5 hours and 30 minutes from GTM, so what is happening here is the sent GTM time is converted to IST and in the converted IST time again 5 hours and 30 minutes are added. Basically, 11 hours are getting added to the sent time which is not correct I suppose.
Just to make sure we’re on the same page, the start_time in the response will always be in GMT time, which is 5.5 hours behind IST time, so you should take this into account when passing the time in GMT initially.
Alternatively, if you remove the Z from your timestamp and leave the timezone set to Asia/Calcutta, are you getting results more in line with what you’re looking for?
I am not converting the GTM time to IST time and then adding Z to it while sending the request. The time is sent in GTM format only.
Secondly, after removing Z I need to convert the start_time that is stored in my DB to IST time and set timezone to Asia/Calcutta, this is working as expected but I don’t want to take that path because the meeting can happen in different timezones and handling those conversions will be an additional step which I need to perform.