]> git.madduck.net Git - etc/awesome.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #430 from trap000d/weather_widget
authorLuca CPZ <1777696+lcpz@users.noreply.github.com>
Mon, 13 May 2019 11:44:26 +0000 (12:44 +0100)
committerGitHub <noreply@github.com>
Mon, 13 May 2019 11:44:26 +0000 (12:44 +0100)
commit3328e738bdc1223583fb98730668dfed24395dfc
tree829bac5a0c5549dad428baa6825a2b384dc66de1
parent724c7b9a3a27e5de2077f388832167ae91e9f29c
parent9ef2c734cab14737428ce1f03c15a8c4752e09e3
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.