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

Message timezone mismatch #313

Closed
Tracked by #322
marmistrz opened this issue Dec 22, 2019 · 6 comments
Closed
Tracked by #322

Message timezone mismatch #313

marmistrz opened this issue Dec 22, 2019 · 6 comments
Labels
🚫 Bug / Stability Releated directly to bugs or instability issues

Comments

@marmistrz
Copy link
Contributor

marmistrz commented Dec 22, 2019

Messages are apparently using UTC for outgoing messages but localtime for incoming messages. See the attached image:

monal2

The blue message was actually sent by the Monal user at 21:24 CET, but is displayed as 20:24. The incoming messages (sent by me) are off by 4 minutes, e.g. the 20:49 message was actually sent at 20:53 CET.

As a result, the messages in the chat are displayed out of order.

Both accounts are on the same server: wiuwiu.de. I'm using Conversations/gajim, the other party is using Monal.

cc @sebastiansterk (the server admin)

/edit: XEP-0203 says that the timestamps for delayed delivery are UTC timestamps. I suppose that Monal doesn't convert this timestamp to localtime and that this is the cause of the bug.

@chippisc
Copy link

We are experiencing similar problems.
Both XMPP-Accounts are on wiuwiu.de. One client is Conversations, the other one Monal.

The first screenshot shows the display of newly received messages while the user has Monal opened and views the current chat.
before-reload

The second screenshot shows the display of messages that have been received while Monal was not opened. The same thing happens after closing and opening Monal again. This behaviour also applies when any other chat or the contact list is viewed while messages are received.
after-reload

Outgoing messages are at first displayed correctly but after reopening the chat the time is displayed wrong. So basically there is the same problem as for incoming messages.

Before the most recent update (4.2) we also had problems with messages being displayed in wrong order. However after the update it does mostly not change the order. We had messages displayed in wrong order after the update but are not able to reproduce this issue.

Maybe @sebastiansterk can help if you need information about the server time.

@Echolon
Copy link
Contributor

Echolon commented Dec 24, 2019 via email

@chippisc
Copy link

We now also tested with both accounts on jabber.ccc.de and experienced the exact same issue.

May you also confirm via other servers eventually? 24 dic. 2019 12:37:23 PM chippisc notifications@github.com:

@marmistrz
Copy link
Contributor Author

I asked Sebastian about the server timezone and it's current German time, i.e. CET.

@anurodhp
Copy link
Contributor

anurodhp commented Jan 1, 2020

I can verify this is an issue. fixing.

@anurodhp
Copy link
Contributor

anurodhp commented Jan 1, 2020

fixed in the next beta. reopen if still an issue,

@anurodhp anurodhp closed this as completed Jan 1, 2020
@Echolon Echolon mentioned this issue Jan 4, 2020
65 tasks
@Echolon Echolon added the 🚫 Bug / Stability Releated directly to bugs or instability issues label Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚫 Bug / Stability Releated directly to bugs or instability issues
Projects
None yet
Development

No branches or pull requests

4 participants