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

Correct times; incorrect offsets #53

Open
spencerflagg opened this issue Sep 23, 2021 · 2 comments
Open

Correct times; incorrect offsets #53

spencerflagg opened this issue Sep 23, 2021 · 2 comments

Comments

@spencerflagg
Copy link

The extension displays the correct time for each foreign city, but it displays an offset that is incorrect by 2 hours.

Example

Let's say I'm in Germany, and I have a coworker in New York and a coworker in Chicago.

That means New York is 6 hours behind and Chicago is 7 hours behind. So if it's 20:00 in Germany, I'd expect the header in the extension to look like "14:00 NEW YORK -06:00" and "13:00 CHICAGO -07:00".

However, what I see in this situation is "14:00 NEW YORK -04:00" and "13:00 CHICAGO -05:00".
The times display correctly, but the offsets are incorrect by 2 hours.

  • Pop!_OS 21.04
  • automatic date & time is turned on
  • automatic time zone is turned on
  • time format is 24-hour
@jwendell
Copy link
Owner

That "offset" means the UTC timezone. For example, New York is UTC-4 as of today.

@spencerflagg
Copy link
Author

Ah, sorry. Initially, I thought it might be that, but I unconvinced myself when I tried to do the math. 🤦‍♂️ I guess I didn't take various daylight savings into account.

I think the time format threw me - I'm used to it being written UTC-4 or GMT-4, instead of -04:00

Thanks for your time!

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

No branches or pull requests

2 participants