traccar time vs and server time

mike silva6 years ago

What I did wrong about traccar time? In websocket position data is coming:

{
...
deviceTime: "2019-10-03T07:39:16.000+0000"
​​fixTime: "2019-10-03T07:39:16.000+0000"
​​serverTime: "2019-10-03T07:39:16.081+0000"
...
}

But my vps server time is 04:39 (the correct time)

Anton Tananaev6 years ago

Probably timezone is misconfigured somewhere on your server.

mike silva6 years ago

you mean at the vps server? there are any config to do in traccar? or java for timezone

Tony Shelver6 years ago

Run date at the linux command line and check your time zone.

mike silva6 years ago

in the case, the date command return 04:39

Anton Tananaev6 years ago