SensorsIot / NTPtimeESP

Small library for ESP8266 which returns the actual time adjusted by time zone and summer time
232 stars 65 forks source link

Time change weekend wrong #26

Closed davidginn524 closed 5 years ago

davidginn524 commented 5 years ago

Hello First of all let me say I love all your videos. They are very informative. Currently I am trying to use this libarary for a word clock. So far it is working well. HOWEVER I was looking into your code/comments and it appears that the DST is being calulated for the middle of march and first of november. However all Europe is 31st of march for the time change this year. Then when DST ends , it's ending on Oct 27th not the first week in November :(

SensorsIot commented 5 years ago

DST is for the Americas. In Europe, it is called Summer Time and it should have a different formula in the library.

davidginn524 commented 5 years ago

ahh sorry about that I misunderstood that. many thanks for following up on that