SensorsIot / NTPtimeESP

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

Enhancement : Offset in timezone #2

Closed mohitverma123 closed 8 years ago

mohitverma123 commented 8 years ago

Hi Andreas,

Thanks for the amazing library. Wanted to suggest an improvement. You have declared the timzone as an int, we can convert it to float, so that it work with 30mins offsets like in India we have timezone offset of +5hrs,30mins Or you can add a offset variable to the adjust timezone.

I personally converted the timezone to float everywhere and it works flawlessly.

Thanks again for you work

SensorsIot commented 8 years ago

Done

sonukushwah221 commented 7 years ago

can you share the offset value for Indian Time