MS Calendar events time in GMT only

Hi there,
Please, could you give me an advise how can I set (and where) locatime for getting calendar from MS Calendar API. If I right understand from calendar integration code, it should bring me calendar events in local browser time, but it looks like always on GMT.
Thanks

I don’t think any conversion is done … Fetching: https://github.com/jitsi/jitsi-meet/blob/c025c7e13250e395d08a53e63f1603cf77e3511b/react/features/calendar-sync/web/microsoftCalendar.js#L566 and extracting just the time: https://github.com/jitsi/jitsi-meet/blob/c025c7e13250e395d08a53e63f1603cf77e3511b/react/features/calendar-sync/web/microsoftCalendar.js#L335
Is see that start and end https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/complex-types-for-mail-contacts-calendar#event are of type https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/complex-types-for-mail-contacts-calendar#datetimetimezone

@damencho Thanks!
I found that need to add “Prefer” header with value like ‘outlook.timezone=“SomeCountry Standard Time”’. But for now is problem in right set timezone string. MS doesn’t support IANA format, only windows long timezones like described here https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc749073(v=ws.10). Maybe someone knows the best method for get it timezones? E.g new Date(); (Chrome 74) in Russia region gives me “Moscow Standart Time” instead “Russia Standart Time” and MS reject it.
I found some addon momentjs[dot]com/timezone/docs/#/using-timezones/formatting/
and list of zones github[dot]com/moment/moment-timezone/issues/331
but it doesnt looks good idea for apply to.

PS.
header can be added here:

return client
        .api(`/me/calendars/${calendarId}/events`)
        .filter(filter)
-->     .header('Prefer','outlook.timezone="Pacific Standard Time"')
        .select('id,subject,start,end,location,body')
        .orderby('createdDateTime DESC')
        .get()
        .then(result => result.value.map(item => {
            return {
                ...item,
                calendarId
            };
        }));

github[dot]com/jitsi/jitsi-meet/blob/c025c7e13250e395d08a53e63f1603cf77e3511b/react/features/calendar-sync/web/microsoftCalendar.js#L566

@damencho,
I’ve added PR to https://github.com/jitsi/jitsi-meet/pull/4327
Please consider the possibility to merge it ASAP
Thanks!