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 timestamps from Mexico #522

Closed
onchov opened this issue May 15, 2023 · 3 comments
Closed

Incorrect timestamps from Mexico #522

onchov opened this issue May 15, 2023 · 3 comments

Comments

@onchov
Copy link

onchov commented May 15, 2023

Not sure if this is the right place to log this bug, I'd normally go server but issues seem to be disabled there.

Description:
Chatting with someone. My timezone is Central Europe (CEST = UTC+2), the other person is in Coahuila, Mexico (CST = UTC-6).

Actual results:
My chat timestamps are correct. The other person's timestamps are one hour behind (ie when the timestamp for a message from me is "now", the timestamp for their message from the same time is "59m"; as time passes, my timestamps change correctly, ie "2m", "7m" etc, their timestamps change to indicate an hour behind).

Expected results:
Timestamps from Mexico should display correctly.

Notes:

  1. All my devices affected, that includes Android and Desktop (Windows, Linux) versions of the Signal app.
  2. It may have something to do with the fact that parts of Mexico near the US border use daylight saving time while others don't? (see: https://en.wikipedia.org/wiki/Time_in_Mexico)
@jrose-signal
Copy link
Contributor

Signal doesn't do anything special to timestamps, it just asks the OS what time it thinks it is. Our best guess is that their device has been set to the wrong time / time zone (perhaps they are deliberately adjusting their clock to work around the device applying DST when they don't want it to, or vice versa?).

You could ask them if other people they chat with in Signal see the same thing, or even to provide a debug log to compare their local timestamps with timestamps provided by the Signal servers.

(This isn't really the best place to file the issue either, since this repository only contains utility functions used by the client apps and the server. But since your best guess was that it was a server issue rather than a client issue it's understandable, so let's just continue here.)

@onchov
Copy link
Author

onchov commented May 16, 2023

Thank you, I'll try to get more info from the other party (I might be the only person they communicate through Signal with, though) and come back here with my findings.

@onchov
Copy link
Author

onchov commented May 18, 2023

OK, it wasn't a Signal issue, indeed.
When both the time and time zone were provided by the cellular network, the user's time on the phone was incorrect so they manually changed it and that's why the -1 offset. The issue was corrected by letting the network provide the time again and changing the time zone instead.
Thanks again and sorry for the noise.

@onchov onchov closed this as completed May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants