norbert-walter / esp32-nmea2000-obp60

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

dev20220309: Time Zones: change of date not calculated properly #26

Closed W-Geronius closed 2 years ago

W-Geronius commented 2 years ago

Anchorage: -10h: 10.3. 05:50 UTC displays as 10.3. -5:50 LOT Fischi: +12h 10.3. 12.29 UTC displays as 10.3. 24:26 LOT watch out for leap years !

norbert-walter commented 2 years ago

Yes, that is not calculated.

W-Geronius commented 2 years ago

please check attached files. They hopefully fix LOT date & time calculation within the formatter and the clock page.

As an enhancement I enabled decimal fractions of hours to be processed. This permits odd timeoffsets like ACWST, Australian Central Western Standardtime (UTC + 8:45) The ACWST example would require to configure TZ 8.75. To be added in documentation

fixIssue_26.zip

NOTE: maybe a coincidence, maybe not: with these changes and page 1 set to clock: contrast of eInk display is very poor after reboot for the first couple of minutes

norbert-walter commented 2 years ago

Solved in 20220324