if(mUtcTimestamp>946684800&&mConfig.sunLat&&mConfig.sunLon&&(mUtcTimestamp+mCalculatedTimezoneOffset)/86400>(mLatestSunTimestamp+mCalculatedTimezoneOffset)/86400){// update on reboot or midnight
if(mUtcTimestamp>946684800&&mConfig.sunLat&&mConfig.sunLon&&(mUtcTimestamp+mCalculatedTimezoneOffset)/86400!=(mLatestSunTimestamp+mCalculatedTimezoneOffset)/86400){// update on reboot or midnight
if(!mLatestSunTimestamp){// first call: calculate time zone from longitude to refresh at local midnight