Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$50] When trying to connect to zoom, an incorrect interview time is shown #593

Open
sdgun opened this issue Dec 13, 2021 · 33 comments
Open

Comments

@sdgun
Copy link

sdgun commented Dec 13, 2021

Steps
Schedule an interview
Go to JC's email
Click the zoom link in the Candidate confirmed meeting on... email
Check the time

incorrect interview time is shown

All Interviews here: https://platform.topcoder-dev.com/taas/myteams/19320/positions/c8511efd-af2d-46ee-a86d-59d291bee61e/candidates/interviews

2021-12-13_17-09-19.mp4
@maxceem
Copy link
Contributor

maxceem commented Dec 13, 2021

@sdgun just to confirm. Asia/Colombo is your current timezone when testing, right?
So when it says interview is scheduled for 2pm Asia/Colombo you are expecting that Zoom would also show the same 2pm because you are now in Asia/Colombo timezone, right?

@sdgun
Copy link
Author

sdgun commented Dec 13, 2021

@sdgun just to confirm. Asia/Colombo is your current timezone when testing, right? So when it says interview is scheduled for 2pm Asia/Colombo you are expecting that Zoom would also show the same 2pm because you are now in Asia/Colombo timezone, right?

@maxceem yeah, I was expecting to see 2pm.

@maxceem maxceem changed the title When trying to connect to zoom, an incorrect interview time is shown [$50] When trying to connect to zoom, an incorrect interview time is shown Dec 15, 2021
@xxcxy
Copy link

xxcxy commented Dec 16, 2021

Created a MR topcoder-platform/taas-apis#644 to fix this.

@maxceem
Copy link
Contributor

maxceem commented Dec 16, 2021

@sdgun this issue has been fixed and is ready for testing on DEV.

Here is a comment regarding the fix:

A zoom meeting can only set one timezone when creating, and the only join url will show the waiting page, so I set the meeting timezone to the guest timezone.

@sdgun
Copy link
Author

sdgun commented Dec 16, 2021

This issue is not fixed yet, checked by scheduling a new interview

Interview: https://platform.topcoder-dev.com/taas/myteams/19320/positions/eef4ac23-5ca8-46ed-be05-4c0ee034432e/candidates/interviews
JC - taasintake300

Time.issue.mp4

@maxceem
Copy link
Contributor

maxceem commented Dec 16, 2021

@xxcxy it looks like this issue is not yet fixed, could you please have a look #593 (comment)

@xxcxy
Copy link

xxcxy commented Dec 16, 2021

Sure, I will check it. I want to confirm is the new meeting is fine? looks the video is a rescheduled meeting.

@sdgun
Copy link
Author

sdgun commented Dec 17, 2021

Sure, I will check it. I want to confirm is the new meeting is fine? looks the video is a rescheduled meeting.

The new meetings has the same issue @xxcxy

@xxcxy
Copy link

xxcxy commented Dec 17, 2021

Sorry, I don't understand. I check it and looks it show correct. https://monosnap.com/file/ROrXOUIFzX3gAIwxJHd56mDIzksd3O

@xxcxy
Copy link

xxcxy commented Dec 17, 2021

In the second video, you computer timezone is different from email timezone. The zoom client will show the time from your computer timezone.

@sdgun
Copy link
Author

sdgun commented Dec 17, 2021

In the second video, you computer timezone is different from email timezone. The zoom client will show the time from your computer timezone.

@xxcxy
There is no TZ named 'Asia/colombo time zone' in windows, what I use is 'Sri Jayawardenapura' which is also
GMT+5:30(same as IST)

@xxcxy
Copy link

xxcxy commented Dec 17, 2021

I'm not sure whether it's the zoom client issue, could you try Asia/Kolkata timezone, if windows has timezone like this.

@sdgun
Copy link
Author

sdgun commented Dec 18, 2021

@xxcxy I checked by changing the TZ to Asia/Kolkata, still see a different time

2021-12-18_7-52-49.mp4

@xxcxy
Copy link

xxcxy commented Dec 18, 2021

My last MR, I forgot to update the reschedule code, so the reschedule process may have timezone problem. I fix it in this MR topcoder-platform/taas-apis#646 .
But this just determine the timezone of start time we send to zoom. How to show this time depends on zoom client. I tried Asia/Shanghai and Europe/London in my computer and it shows correctly.

@maxceem
Copy link
Contributor

maxceem commented Dec 19, 2021

But this just determine the timezone of start time we send to zoom. How to show this time depends on zoom client. I tried Asia/Shanghai and Europe/London in my computer and it shows correctly.

hmm, @xxcxy, so what you are saying is, that we actually don't have to use any specific timezone when creating a zoom meeting? We just can avoid setting timezone, pass time in UTC+0, and it should adjust to the client timezone of the one who opens the link?

@maxceem
Copy link
Contributor

maxceem commented Dec 19, 2021

As from Zoom API docs:

image

So it looks like we just have to pass the time in the correct format yyyy-MM-ddTHH:mm:ssZ which means GMT 0, and Zoom client would show the correct date depend on the computer timezone.

Is that right?

@xxcxy
Copy link

xxcxy commented Dec 19, 2021

Yes, I tried if I set different timezone in my computer and restart the zoomMeeting client, it shows different time like the doc said. But if i don't set timezone when sending api, the client shows the time different from the email even they have same timezone. So i think we should set the timezone.

@maxceem
Copy link
Contributor

maxceem commented Dec 19, 2021

Ok. So I guess sdgun still can reproduce the issue because in this:

image

But it seems that there could be an easier solution than using candidate timezone:

  • we can set time in UTC using specific time format yyyy-MM-ddTHH:mm:ss
  • and set timezone as UTC

And then the client would render the time we set in UTC using computer timezone. Would this work?

@xxcxy
Copy link

xxcxy commented Dec 19, 2021

No, I tried "UTC", at least it can't work in my computer. The time showed different from email.

@maxceem
Copy link
Contributor

maxceem commented Dec 19, 2021

Hmm, could it be that toISOString returns date not in the same format that is expected by Zoom?

  • 2011-10-05T14:48:00.000Z
  • if we set timezone, then there should not be .000Z

@xxcxy
Copy link

xxcxy commented Dec 19, 2021

I'm not sure. Since I can't reproduce it in my computer and my zoomAccount.
I need confirm something to infer what's the problem.

  1. if sdgun change the computer timezone, the zoom client shows different time?
  2. what the actual time sdgun set and whether the email show time is right?

@maxceem
Copy link
Contributor

maxceem commented Dec 20, 2021

@sdgun there are some details which might help to find the root cause of the issue #593 (comment).

I guess a video showing the whole process including scheduling, selecting time and opening the final zoom link might help.

@sdgun
Copy link
Author

sdgun commented Dec 20, 2021

@maxceem @xxcxy Here is the video

Interview zoom time.zip

@sdgun
Copy link
Author

sdgun commented Dec 21, 2021

@xxcxy Looks like the time is shown in GMT in Nylas and zoom, for example in the timeslots payload, the starttime and endtime stamps are sent when the user schedules the interview, for example in the below interview, JC scheduled the interview to 1pm-1.30pm on 25th Dec in IST, which is 7.30am-8am in GMT and that is what the Nylas/zoom shows to the JC while trying to connect the meeting.

Interview.time.mp4

You can see the time changing in scheduling page after submitting clearly in this video:

time.change.mp4

@xxcxy
Copy link

xxcxy commented Dec 21, 2021

Yes. I think the request parameters is very helpful, I will try to reproduce this issues in my local, If i can reproduce it, i think i can resolve it.

@xxcxy
Copy link

xxcxy commented Dec 21, 2021

Hmm, could it be that toISOString returns date not in the same format that is expected by Zoom?

  • 2011-10-05T14:48:00.000Z
  • if we set timezone, then there should not be .000Z

Yes, You are right.
Fixed in this MR topcoder-platform/taas-apis#649

@maxceem
Copy link
Contributor

maxceem commented Dec 21, 2021

@sdgun a new fix has been deployed to DEV and is ready for testing.

@sdgun
Copy link
Author

sdgun commented Dec 22, 2021

Unable to verify due to #596

@sdgun
Copy link
Author

sdgun commented Dec 22, 2021

Verified in dev env, the time is displayed correctly now.

Time.mp4

@maxceem
Copy link
Contributor

maxceem commented Dec 22, 2021

Challenge https://www.topcoder.com/challenges/f9030ea9-8a63-437a-9957-8013bd8e91ea has been created for this ticket.

This is an automated message for maxceem via Topcoder X

@maxceem
Copy link
Contributor

maxceem commented Dec 22, 2021

Challenge https://www.topcoder.com/challenges/f9030ea9-8a63-437a-9957-8013bd8e91ea has been assigned to xxcxy.

This is an automated message for maxceem via Topcoder X

@maxceem
Copy link
Contributor

maxceem commented Dec 22, 2021

Payment task has been updated: https://www.topcoder.com/challenges/f9030ea9-8a63-437a-9957-8013bd8e91ea
Payments Complete
Winner: xxcxy
Copilot: maxceem
Challenge f9030ea9-8a63-437a-9957-8013bd8e91ea has been paid and closed.

This is an automated message for maxceem via Topcoder X

@maxceem maxceem reopened this Dec 22, 2021
@maxceem
Copy link
Contributor

maxceem commented Dec 22, 2021

Thank you @xxcxy it works now, and payment has been processed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants