Project

General

Profile

Message Offline

Maciej Bursztynowski
Added over 5 years ago

Hi,

I'm using for now Tigase 5.1.5 and I have a little problem with Date/Time.

My server is using CEST time, mysql database also.

When I write to someone who is offline (for example 09:00), then he becomes online - He recives that message with timestamp 11:00(There is also 11:00 in msg_history table in mysql)

What can I do to change it?


Replies (3)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

As your server is using CEST time, please double check whether the time zone is set correctly. Maybe the time is set the same as for CEST time zone but the zone itself is set to something else. The time sent by Tigase should carry a time zone information with it, so the client should display a correct time to the user.

Added by Maciej Bursztynowski over 5 years ago

Sorry, my bad.

There is different issue.

timestamp in mysql is correct(same as send time).

If i come online message is shown as timestamp + 2h.

[12:46:51] *** test karol jest teraz Rozłączony: testy wersji produkcyjnej     ------ I go offline to test msg offline, then online 30 seconds later
*** 2013-10-15
[14:47:13] test karol pisze:
piszę do Cię
[12:48:33] *** test karol jest teraz Dostępny: testy wersji produkcyjnej [50]
[12:48:44] test karol pisze:
asdas

On my PC (Windows7) there is Warsaw UTC+1 timezone set.

I don't know what to do.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Could you please submit a bug report with a detailed description of the problem and step by step how to replicate it? Please also include information on what kind of client software you use. https://projects.tigase.org/projects/tigase-server/issues/new

We will run some tests to find out where the problem is.

    (1-3/3)