From: Luca CPZ <1777696+lcpz@users.noreply.github.com> Date: Mon, 13 May 2019 11:44:26 +0000 (+0100) Subject: Merge pull request #430 from trap000d/weather_widget X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/3328e738bdc1223583fb98730668dfed24395dfc Merge pull request #430 from trap000d/weather_widget Weather status icon fix; closes #428. It looks like OpenWeatherMap have fixed most of issues in their API. Now they return sunrise and sunset times properly for current time zone, however the status icon is still wrong: transition N->D appears at 0:00 UTC (must be at local sunrise time) whereas D->N appears at local sunset time So we still need to check if we're in or out from sunrise/sunset times, but no need to perform all other manipulations with dates and times. --- 3328e738bdc1223583fb98730668dfed24395dfc