mirror of
https://github.com/esp8266/Arduino.git
synced 2025-11-28 17:36:39 +03:00
Tz update (#7234)
* 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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user