Goran <[email protected]> has asked  for review:
Bug 15308: Panel weather icons do not correspond to the correct timezone
https://bugzilla.xfce.org/show_bug.cgi?id=15308

Attachment 8836: Patch for parsing of sunrise API data
https://bugzilla.xfce.org/attachment.cgi?id=8836&action=edit



--- Comment #4 from Goran <[email protected]> ---
Created attachment 8836
  --> https://bugzilla.xfce.org/attachment.cgi?id=8836&action=edit
Patch for parsing of sunrise API data

I think this patch should fix it, the times from the sunrise API seemed to have
been converted to UTC, but not back to localtime for the call to is_night_time,
which then determines the icon.
I've verified that the astro->sunrise/sunset times are now actual local times,
but I'm not sure if the patch screws up anything else (such as the cache), it'd
be great if someone could test it.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to