1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-11-28 17:36:39 +03:00
* TZ update

Added the possibility to set the timezone without using NTP. This is helpful to have the timezone advantages when using an external RTC.

* Update time.cpp
This commit is contained in:
kugelkopf123
2020-04-21 02:09:54 +02:00
committed by GitHub
parent ea1fdb210f
commit b02643e7fa
2 changed files with 13 additions and 5 deletions

View File

@@ -276,6 +276,8 @@ long secureRandom(long);
long secureRandom(long, long);
long map(long, long, long, long, long);
void setTZ(const char* tz);
void configTime(int timezone, int daylightOffset_sec, const char* server1,
const char* server2 = nullptr, const char* server3 = nullptr);