Fix: Sun Position: invalid day input in some months
commit1bc27cffa6df6738271b3f8e58bdec9243044abd
authorDamien Picard <dam.pic@free.fr>
Sun, 14 Apr 2024 14:54:39 +0000 (14 16:54 +0200)
committerDamien Picard <dam.pic@free.fr>
Tue, 16 Apr 2024 18:07:15 +0000 (16 20:07 +0200)
tree4f96feff166d4aa52270168feef5f842eb576c9f
parent0b1d563a2f4f04477229d77944581c205671813f
Fix: Sun Position: invalid day input in some months

Not all months in the Gregorian calendar have the same number of days.
Invalid dates are now avoided by checking for them in the property
getter.
sun_position/properties.py