Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Time Zone used in Calendar #1063

Closed
hoppersoft opened this issue Jan 8, 2024 · 7 comments
Closed

Incorrect Time Zone used in Calendar #1063

hoppersoft opened this issue Jan 8, 2024 · 7 comments
Labels
question Further information is requested

Comments

@hoppersoft
Copy link

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
@IsmaelMartinez
Copy link
Owner

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

@hoppersoft
Copy link
Author

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

Looks like my browser is reporting the correct time:
image

@IsmaelMartinez
Copy link
Owner

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).

@hoppersoft
Copy link
Author

hoppersoft commented Jan 10, 2024

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...

@IsmaelMartinez
Copy link
Owner

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

@jijojosephk
Copy link
Collaborator

jijojosephk commented Jan 31, 2024

@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 jijojosephk added the question Further information is requested label Jan 31, 2024
@hrk
Copy link

hrk commented Feb 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants