mirror of
https://github.com/EddyVB/ESP8266-NTP2DCF77.git
synced 2025-12-21 13:23:16 +01:00
13 lines
489 B
C
13 lines
489 B
C
// TODO: create an interface to change these
|
|
|
|
const char* ntpServerName = "europe.pool.ntp.org"; // NTP server hostname - see http://www.pool.ntp.org/en/vendors.html
|
|
#define NTP_INTERVAL 1024 // seconds between polling the NTP server - check with your ntp operator before lowering this
|
|
|
|
// TODO: more time zones
|
|
TimeChangeRule euCDT = {"ST", Last, dowSunday, Mar, 2, +120};
|
|
TimeChangeRule euCST = {"WT", Last, dowSunday, Oct, 2, +60};
|
|
|
|
Timezone euCT(euCDT, euCST);
|
|
|
|
#define TIMEZONE euCT
|