teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

Incorrect Time Zone used in Calendar

Open hoppersoft opened this issue 1 year ago • 7 comments

Describe the bug I am in the Eastern time zone (GMT-5) and have system settings configured as such, but the Teams calendar is showing events using Central (GMT-6). See below screen shot showing Teams indicating the current time (red line) is an hour earlier than local time (lower-right corner).

image

To Reproduce Steps to reproduce the behavior:

  1. Open calendar
  2. Note that events are shown an hour earlier than local time.

Expected behavior Calendar should use the system timezone.

Desktop (please complete the following information):

  • OS: Zorin OS 17
  • Flatpak: com.github.IsmaelMartinez.teams_for_linux
  • Version 1.4.1

hoppersoft avatar Jan 08 '24 20:01 hoppersoft

Hi, can you check if this is the same situation on the browser? thanks

IsmaelMartinez avatar Jan 09 '24 09:01 IsmaelMartinez

Hi, can you check if this is the same situation on the browser? thanks

Looks like my browser is reporting the correct time: image

hoppersoft avatar Jan 09 '24 15:01 hoppersoft

sorry, I mean login in MS teams via the browser and checking if the calendar shows the same.

Also check other packaging options (deb, rpm tend to work a wee bit better).

IsmaelMartinez avatar Jan 10 '24 00:01 IsmaelMartinez

Oh, got it. Yes, the time in the Web-based version of Teams is correct.

EDIT: And yes! Using the .deb from the TFL repo addressed the issue. I'm afraid I don't know enough about flatpak to understand why that version behaved that way...

hoppersoft avatar Jan 10 '24 16:01 hoppersoft

did you try with another package? that looks/sounds like a flatpak configuration shenanigans

IsmaelMartinez avatar Jan 15 '24 20:01 IsmaelMartinez

@hoppersoft can you try installing the browser through flatpak and see if the problem present. Make sure you're trying, google-chrome, chromium, or brave etc. Because electron and these uses the same thing. If it is related to sandboxing, we'll ask the same to flatpak team.

jijojosephk avatar Jan 31 '24 05:01 jijojosephk

FWIW this is a long standing issue for Electron and not this particular app. The solution is to add the TZ variable before launching the app, e.g.: TZ="Europe/Rome" yarn start

hrk avatar Feb 13 '24 08:02 hrk