User Activity

  • Posted a comment on discussion General Discussion on Sunwait

    UPDATE - I added the following code to the getMidnightUTC() function, like the other DST patch, at line 544 of my local copy struct tm localTm; myLocalTime (&pRun->nowTimet, &localTm); int isdst = localTm.tm_isdst; tmpTm.tm_isdst = isdst; With the code "borrowed" from the previous isdst fix, it apears to now properly print DAY and NIGHT transitions at the proper times on the days before, on and after the DST timezone change. Hopefully my assumptions are correct - sunwait appears to work properly...

  • Posted a comment on discussion General Discussion on Sunwait

    Hello - first, thanks for creating sunwait! I use it for detecting if the current time is DAY or NIGHT, and open or close my chicken coop door accordingly (+/- an offset). I am using it in an area that uses DST. Upon leaving DST this morning (from EDT to EST) the DAY/NIGHT (poll) feature broke for today (11/01/2020). Sunrise was 06:25 (as verified by sunwait list offset 0), but the poll feature returned DAY at 05:25 instead of at 06:25. I've reproduced it by setting my system's date to 05:20 11/01/2020...

View All

Personal Data

Username:
noiambujo
Joined:
2014-06-23 14:13:45

Projects

  • No projects to display.

Personal Tools