norbert-walter / esp32-nmea2000-obp60

nmea2000 gateway with ESP32
GNU General Public License v2.0
12 stars 8 forks source link

dev20220314 GPSD and GPST displaying LOT ? #41

Closed W-Geronius closed 2 years ago

W-Geronius commented 2 years ago

If a timezone is defined, GPSD and GPST display LOT. Shouldn't they always be UTC time? Maybe new values local date & local time LOD/LOT should be selectable separately

norbert-walter commented 2 years ago

When a time zone is defined, GPSD and GPST always show LOT. You also move in the local time. LOT only indicates that the time displayed is not UTC time. The formatter does the conversion to local time. The WebUI is used to determine which time zone you are in. This then applies to the time and date specification. You could also create a special user page that only displays the UTC time. I still wanted to do something like that.

W-Geronius commented 2 years ago

Naming of GPSD and GPST is inconsistent then in regards to the nmea2000 gateway display. On OBP60 they don't reflect GPS date/time (unless you are in TZ 0)

norbert-walter commented 2 years ago

Thats correct. The data in WebUÍ are always UTC time. The time zone only working for the OBP pages.