trekarta icon indicating copy to clipboard operation
trekarta copied to clipboard

Date is off bij 19 years

Open Woodhousemelena opened this issue 5 years ago • 6 comments

Trekarta gets the time right, but the date saved with the tracks is way off. It stores 20 march 2000 when it is 5 nov 2019?!?

Telephone date is set to the correct value. The is however not a sim card in the phoen, but that should not make a difference....

Woodhousemelena avatar Nov 05 '19 12:11 Woodhousemelena

Can you provide more details? Do you mean native recorded tracks or exported tracks? Where do you see time shift?

andreynovikov avatar Nov 05 '19 12:11 andreynovikov

Both actually. The tracks that are saved show their time and date, which has the mentioned deviation. When I export or share them, they have the same name. photo_2019-11-05_15-26-48

Woodhousemelena avatar Nov 05 '19 14:11 Woodhousemelena

What's your device? It looks like you have to update its system or buy a newer one. :)

Trekarta gets time from the raw GPS location which is provided by device: https://github.com/andreynovikov/trekarta/blob/977ea3db4ab293fc0e938adf316aa054abcb97bb/app/src/main/java/mobi/maptrek/location/LocationService.java#L596

andreynovikov avatar Nov 06 '19 10:11 andreynovikov

hello, It is a Galaxy S4 mini (samsung) equipped with lineageos 17 ( android 9)..... So that should not be a problem.

Woodhousemelena avatar Nov 14 '19 08:11 Woodhousemelena

hello, It is a Galaxy S4 mini (samsung) equipped with lineageos 17 ( android 9)..... So that should not be a problem.

Do you thing the oct 2019 lineagos might not have the necessary GPS updates?

Woodhousemelena avatar Nov 14 '19 08:11 Woodhousemelena

Do not know but

The second rollover occurred on the night of April 6 to April 7, 2019. Software which is not coded to anticipate the rollover to zero may stop working or could be moved back in time by 20 or 40 years.

looks exactly as your problem.

You can try GPS status, as I see it displays time provided by GPS.

andreynovikov avatar Nov 14 '19 18:11 andreynovikov