Closed basememara closed 1 year ago
This is currently expected as nil indicates that the location has no sunset/sunrise for that day which can happen inside the polar circle near the solstices (see https://en.wikipedia.org/wiki/Polar_circle). We have opened issue #45 to address this. This feature was added to the JS library, its turning out to be slightly more complicated in Swift due to the way some of the data structures are setup.
Prayer times cannot be calculated for Norway this time of year since
SolarTime
returnsnil
:The angles in
Astronomical.correctedHourAngle
are returningNaN
for this scenario. Any idea on how to accommodate these extreme north scenarios?