Sunset and Sunrise times not correct

Hello,

Been playing with WLED version 0.12.1-b1 build 2104220 on a ESP32 for a couple months… finally have LEDs mounted to my deck and would like to utilize the time/macro based on the sunset time… When I enter input my Lat/Long in the Time setup screen I get some really wrong sunrise/sunset times… I’m using NTP, US-CST/CDT time zone, 0 UTC offset, Current local time is spot on. I use LAT of 44.94 and LONG of -94.28 as I’m in Minnesota, USA.

I notice the input screen show Long (E) but I’m in West and thought the -94 would signify W… am I missing something obvious or is the feature not 100% working?

Thanks,

Kevin

Found the answer from Aircoookie in the GitHub issues list…

Hi!
Yes, this is a bug that emerged because a math approximation had an input that was out of its range.
Fixed in master :slight_smile: You can compile it yourself or wait for a 0.12.1-b2 binary, I will hopefully release that in the next few days!