[Goodies-dev] [Bug 16091] Day and night icons are incorrect for my location

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Nov 22 17:38:47 CET 2019


https://bugzilla.xfce.org/show_bug.cgi?id=16091

Mikhail Efremov <mikhefr at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikhefr at gmail.com

--- Comment #1 from Mikhail Efremov <mikhefr at gmail.com> ---
Created attachment 9271
  --> https://bugzilla.xfce.org/attachment.cgi?id=9271&action=edit
Fix day/night calculation

Function is_night_time() is broken since commit
701da805ecf273f376dbae5003607746fad9d316: astro->sunrise and astro->sunset are
in the local time really, so comparison  with currnet time in UTC is always
incorrect.
Attached patch fixes the issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Goodies-dev mailing list