-
|
Time.timezone and Time.dst I'm making a train clock that can be set via a website. But when I connect it to a power supply it shows: When I set timezone = -28800 and dst = 3600, the time is displayed |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The ESP-IDF doesn't manage the timezone and DST offset across boots. The Moddable SDK ESP32 port provides tools so you can manage that.
|
Beta Was this translation helpful? Give feedback.
The ESP-IDF doesn't manage the timezone and DST offset across boots. The Moddable SDK ESP32 port provides tools so you can manage that.
Time.timezoneandTime.dstto set the timezone and DST offset to the values you want. That information might come from hard coded constants, a stored preference, user input, or the network.…