Hi,
First of all: UTM zones have nothing to do with timestamps, so that settings shouldn’t have any influence.
It has been a long time since I messed with the time conversion code in Trackserver, but IIRC it’s like this:
– Trackserver tries to store everything in local time. In retrospect, it might have been better to store UTC timestamps, but it’s too late for that now.
– GPX files are supposed to have UTC time, and OruxMaps / MapMyTracks live updates also have UTC time, as far as I know.
– Trackserver tries to convert all timestamps to local time. It uses WordPress’ timezone settings for that. If your tracks are made in a different timezone, that will surely lead to incorrect times displayed in Trackserver.
That said, I can’t really explain why Trackserver would display your track with timestamps two hours earlier than UTC, instead of UTC+2.
Timestamps are converted to Unix timestamps (seconds since 1-1-1970) and a timezone offset is added to them before storing them in the database. The offset is calculated as can be seen here:
https://github.com/tinuzz/wp-plugin-trackserver/blob/master/trackserver.php#L3276
Somehow, in your case the result is (presumeably) -7200, where it should be 7200. Surely, there must be a bug in there somewhere, but for me, it has always worked as expected.
Can you verify the following things:
– the value of the ‘timezone_string’ option in WordPress
– the value of the php.ini setting ‘date.timezone’
Regards,
Martijn.