labexp / osmtracker-android

GPS tracking tool for OpenStreetMap
GNU General Public License v3.0
502 stars 236 forks source link

“Uploaded to OpenStreetMap” always reported as “1 Jan 1970 01:00:00” #314

Open Lee-Carre opened 3 years ago

Lee-Carre commented 3 years ago

OSMtracker v1.0.1 on Android v10 on SM-A405FN

When uploading a GNSS trace, the date & time of said upload is always reported (within OSMtracker) as the Unix epoch (plus one hour (perhaps because of being on BST as opposed to GMT, currently)).

This is true for all uploads, consistently.

The OSM site itself reports the correct date & time of those same uploaded traces.

Lee-Carre commented 3 years ago

Additionally, the notation displayed in the UI doesn't follow the standard notation of ISO 8601.

jamescr commented 3 years ago

I found this issue on one trace but not in all uploads.

image

Can you provide a screenshot of the place were you see the wrong date?

Lee-Carre commented 3 years ago

Apologies for the (long) delay in replying.

The highlighted location in your UI-capture is where I see the incorrect date & time with my own traces.

If still needed I can upload my own example.

Thankyou for your attention in this. I have stopped uploading traces which I capture, to avoid contaminating any other uploads, until an update is available. Despite being in an area with a severe lack of tracings.

I've had a think about why only some of yours are affected but all of mine are affected. I couldn't determine what might be causing the difference. My captures all vary in multiple ways (e.g. some short, some long).