Wrong time

On my android phone, it shows the wrong time, server/device/fix, this happened suddenly and only on my phone, if I log in from other devices the time is correct. I already checked the time on the phone and it's fine.
anyone with this problem? or where does traccar take the time and date?

Anton Tananaev 3 years ago

Do you mean the timezone is incorrect? Please provide more details about the issue.

Yes timezone incorrect ,

serverTime Server Time 2023-02-10 05:44:15 AM
deviceTime Device Time 2023-02-10 05:44:12 AM
fixTime Fix Time 2023-02-10 05:44:12 AM

But the real time is 2023-02-10 10:45 pm.
this happened only on my phone.

Anton Tananaev 3 years ago

What timezone is configured on your phone and what is your actual timezone? And what timezone you see in the default browser?

In my phone is -7
In my browser GMT + 0000

Anton Tananaev 3 years ago

So looks like some issue with your browser or phone configuration.

Sinaloense 3 years ago

I have a similar problem.
When I see a "Replay" or "More details" on the app/web browser on Android and IOS I get the correct time in America/Mazatlan (UTC/GMT -7), but when I see in my pc I get incorrect time in America/Mazatlan (UTC/GMT -7) + 1 hour.

I'm saving in my database in UTC.
Timezone in my account preferences is America/Mazatlan.
Timezone in server preferences isn't selected.

"id": 394,
    "attributes": {
      "sat": 11,
      "ignition": false,
      "event": 0,
      "archive": false,
      "distance": 13.14,
      "totalDistance": 11781362.96,
      "motion": true
    },
    "deviceId": 1,
    "protocol": "gt06",
    "serverTime": "2023-03-07T18:11:45.000+00:00",
    "deviceTime": "2023-03-07T18:11:45.000+00:00",
    "fixTime": "2023-03-07T18:11:45.000+00:00",
    "outdated": false,
    "valid": true,
    "latitude": XX.XXXXX,
    "longitude": -XXX.XXXXXXXXXXXXXX,
    "altitude": 0,
    "speed": 13.4989,
    "course": 85,
    "address": null,
    "accuracy": 0,
    "network": {
      "radioType": "gsm",
      "considerIp": false,
      "cellTowers": [
        {
          "cellId": 15023,
          "locationAreaCode": 4936,
          "mobileCountryCode": 334,
          "mobileNetworkCode": 20
        }
      ]
    }

tc_positions

Sinaloense 3 years ago

PC
Description text

Android/IOS APP
Description text

Anton Tananaev 3 years ago

If you see different time on different devices it probably indicates that the timezone settings are different. I mean the operating system/browser settings.

Sinaloense 3 years ago

Thank you, It was an error on my pc or browser, I solved it by changing from UTC - 7 Mazatlán to UTC - 7 Mountain.

Before

After

Traccar date