neptune2 / simpleDSTadjust

OBSOLETE: esp8266 Arduino base code NTP, TimeZone and DST are now fixed
https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/NTP-TZ-DST/
21 stars 19 forks source link

DST do not apply to my country #8

Open blotfi opened 4 years ago

blotfi commented 4 years ago

Hi I would like to use https://docs.thingpulse.com/guides/wifi-color-display-kit/ he uses your library, how can I specify that I don't have DST and I am GMT+1

in the lines :

#define UTC_OFFSET +1
struct dstRule StartRule = {"CEST", Last, Sun, Mar, 2, 3600}; // Central European Summer Time = UTC/GMT +2 hours
struct dstRule EndRule = {"CET", Last, Sun, Oct, 2, 0};       // Central European Time = UTC/GMT +1 hour

thanks