Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateIllumination #626

Merged
merged 1 commit into from
Sep 25, 2022
Merged

updateIllumination #626

merged 1 commit into from
Sep 25, 2022

Conversation

forrestguice
Copy link
Owner

Fixes app crash (NPE) at higher latitudes when displaying moon illumination. #623

Fixes app crash (NPE) at higher latitudes when displaying moon illumination. #623

It shouldn't be assumed that all locations experience moonrise/moonset on a given day. The lunar noon (and lunar midnight) calendars are possibly null and must be checked first.

If lunar noon doesn't occur, display illumination at solar noon instead.
@forrestguice forrestguice added this to the v0.14.8 milestone Sep 25, 2022
@forrestguice forrestguice merged commit ffdb7b9 into master Sep 25, 2022
@forrestguice forrestguice deleted the fix623 branch September 25, 2022 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant