Проблема с датой GPS после 6 апреля 2019 года/ Problem with GPS date after April 6, 2019

Marat3 years ago

После 6 апреля 2019 года GPS трекер стал выдавать дату на 7168 дней раньше текущей. Например сегодня 7 марта 2021 года, а трекер выдает 22 июля 2001 года. Время и координаты при этом указаны правильно.
Производитель новых прошивок не издает.
Можно ли каким либо образом на сервере поменять получаемую дату устройства?
Может быть посредством вычисляемых атрубутов?
Спасибо.

After April 6, 2019, the GPS tracker began to issue a date 7168 days earlier than the current one. For example, today is March 7, 2021, and the tracker issues July 22, 2001. The time and coordinates are correct.
The manufacturer does not publish new firmware.
Is it possible to change the received device date in any way on the server?
Maybe through calculated attributes?
Thank you!

Anton Tananaev3 years ago

You can use "time.override" config parameter and set it to "serverTime".

Marat3 years ago

Спасибо большое!
Я отредактировал этот файл
/opt/traccar/conf/traccar.xml
путем добавления
<entry key = 'time.override'> serverTime </entry>
Потом перезагрузил сервер.
Это сработало.

Thank you very much!
I edited this file
/opt/traccar/conf/traccar.xml
by adding
<entry key = 'time.override'> serverTime </entry>
Then I rebooted the server.
It's work.