simpleDSTadjust
simpleDSTadjust copied to clipboard
Added support for passing raw timestamps to time()
In a few projects I've either received timestamps over ESP-NOW, or from onboard RTCs, and can't or won't connect to wifi for NTP. To support that time() needs an option that doesn't rely on the espressif time functions.
The change should be drop in, and shouldn't alter behavior for existing code.