This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Description
Hi Ernesto, great library!
It seems like midnight sun and polar night is not supported. Could you add support for that? I live in Norway, so a large portion of my user base have midnight sun of polar night a large portion of the year.
http://en.wikipedia.org/wiki/Midnight_sun
http://en.wikipedia.org/wiki/Polar_night
Seems like the simplest way is to check whether sunrise = sunset. If that is the case, the sun is not rising or setting that day. Then it should be easy to figure out which is the case. If winter, the sun is not rising. If summer, the sun is not setting. Not sure what values should be returned to indicate that a particular day has a midnight sun or is a polar night though.
Daniel