fix auto sleep start/stop time check
merge sleepfix1, fix extern DST_offset