Date sent from device sometimes several days ahead

Marco Pusceddu7 years ago

Hello.

I installed Traccar server v. 3.14 on a Mac running Mac OS X Sierra.
Traccar client is installed on 6-8 phones (most of them Android).
Everything is working fine, but sometimes the date sent form some of these devices is some days ahead (3 to 17) of actual date.
For instance, today (30/09/2017) I see that some position updates sento from one device show the date "17/10/2017".
This causes malfunctioning, because we rely on device's last position and in this case it is in the future.
This occurs randomly, and seems related to the device or the client.
Have you ever seen this issue?
Is it possible, in server's settings, to discard updates with date newer than today?

Thank you.

Anton Tananaev7 years ago

I have heard about this issue before, but it's most likely caused by some device malfunction. Traccar Client get fix time directly from Android API.

On the server side you can enable filtering of future time.

Marco Pusceddu7 years ago

Thank you for your quick response.
I was almost sure that that issue is connected to client's OS.
Will you please give me some suggestion on where to look for to filter future time on server side?
Thanks for your great job.

Anton Tananaev7 years ago

Search on forum. It has been discussed many times.