What is the format of TZ_INFO?
Syco54645 opened this issue · 3 comments
Syco54645 commented
Reading the docs it is not clear what the value of TZ_INFO should be. Where can one find a list of TZ_INFO?
luigipacheco commented
Someone talks about it here:
https://www.esp32.com/viewtopic.php?t=5282
im still figuring out how to set it up for US
luigipacheco commented
this worked for me:
#define NTP_SERVER "pool.ntp.org"
#define TZ_INFO "UTC+4,M3.5.0/02:00:00,M10.5.0/03:00:00"
so if you change the first value before the coma to your UTC offset it should work
ph1p commented
Closed, because the new API lets you insert cities, long&lat etc.