Skip to content

Add methods to check for polar days/nights

Volker Krause requested to merge work/vkrause/polar-day-night-api into master

With !48 (merged) (which this depends on for passing its unit tests) we don't report invalid sunrise/sunset events anymore during polar days/nights, but we still lacked a way to check whether it's actually day or night in those cases.

This is needed for example in order to use the correct day or night weather icons in KWeatherCore.

Merge request reports